亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? command.c

?? 打魔獸戰網的都知道他是什么
?? C
?? 第 1 頁 / 共 5 頁
字號:
	return -1;    }    if (account_get_auth_admin(conn_get_account(c),NULL)!=1 && account_get_auth_admin(conn_get_account(c),channel)!=1) {	message_send_text(c,message_type_error,c,"You must be at least a Channel Admin to use this command.");	return -1;    }    text = skip_command(text);    if (!(username = &text[0])) {	message_send_text(c, message_type_info, c, "You need to supply a username.");	return -1;    }    if(!(acc = accountlist_find_account(username))) {	sprintf(msgtemp, "There's no account with username %.64s.", username);	message_send_text(c, message_type_info, c, msgtemp);	return -1;    }    dst_c = account_get_conn(acc);    if (account_get_auth_admin(acc,channel) == 1)	sprintf(msgtemp,"%s is already a Channel Admin",username);    else {	account_set_auth_admin(acc,channel,1);	sprintf(msgtemp,"%s has been promoted to a Channel Admin",username);	sprintf(msgtemp2,"%s has promoted you to a Channel Admin for channel \"%s\"",conn_get_loggeduser(c),channel);	changed = 1;    }    if (changed && dst_c) message_send_text(dst_c, message_type_info, c, msgtemp2);    message_send_text(c, message_type_info, c, msgtemp);    command_set_flags(dst_c);    return 0;}static int _handle_vop_command(t_connection * c, char const * text){    char const *	username;    char const *	channel;    t_account *		acc;    t_connection *	dst_c;    int			changed = 0;    if (!(conn_get_channel(c)) || !(channel = channel_get_name(conn_get_channel(c)))) {	message_send_text(c,message_type_error,c,"This command can only be used inside a channel.");	return -1;    }    if (account_get_auth_admin(conn_get_account(c),NULL)!=1 && account_get_auth_admin(conn_get_account(c),channel)!=1) {	message_send_text(c,message_type_error,c,"You must be at least a Channel Admin to use this command.");	return -1;    }    text = skip_command(text);    if (!(username = &text[0])) {	message_send_text(c, message_type_info, c, "You need to supply a username.");	return -1;    }    if(!(acc = accountlist_find_account(username))) {	sprintf(msgtemp, "There's no account with username %.64s.", username);	message_send_text(c, message_type_info, c, msgtemp);	return -1;    }    dst_c = account_get_conn(acc);    if (account_get_auth_voice(acc,channel) == 1)	sprintf(msgtemp,"%s is already on VOP list",username);    else {	account_set_auth_voice(acc,channel,1);	sprintf(msgtemp,"%s has been added to the VOP list",username);	sprintf(msgtemp2,"%s has added you to the VOP list of channel \"%s\"",conn_get_loggeduser(c),channel);	changed = 1;    }    if (changed && dst_c) message_send_text(dst_c, message_type_info, c, msgtemp2);    message_send_text(c, message_type_info, c, msgtemp);    command_set_flags(dst_c);    return 0;}static int _handle_voice_command(t_connection * c, char const * text){    char const *	username;    char const *	channel;    t_account *		acc;    t_connection *	dst_c;    int			changed = 0;    if (!(conn_get_channel(c)) || !(channel = channel_get_name(conn_get_channel(c)))) {	message_send_text(c,message_type_error,c,"This command can only be used inside a channel.");	return -1;    }    if (!(account_is_operator_or_admin(conn_get_account(c),channel_get_name(conn_get_channel(c))))) {	message_send_text(c,message_type_error,c,"You must be at least a Channel Operator to use this command.");	return -1;    }    text = skip_command(text);    if (!(username = &text[0])) {	message_send_text(c, message_type_info, c, "You need to supply a username.");	return -1;    }    if(!(acc = accountlist_find_account(username))) {	sprintf(msgtemp, "There's no account with username %.64s.", username);	message_send_text(c, message_type_info, c, msgtemp);	return -1;    }    dst_c = account_get_conn(acc);    if (account_get_auth_voice(acc,channel)==1)	sprintf(msgtemp,"%s is already on VOP list, no need to Voice him", username);    else    {      if ((!dst_c) || conn_get_channel(c)!=conn_get_channel(dst_c))      {	sprintf(msgtemp,"%s must be on the same channel to voice him",username);      }      else      {        if (channel_conn_has_tmpVOICE(conn_get_channel(c),dst_c))	    sprintf(msgtemp,"%s has already Voice in this channel",username);        else {	  if (account_is_operator_or_admin(acc,channel))	    sprintf(msgtemp,"%s allready is operator or admin, no need to voice him",username);	  else	  {	    conn_set_tmpVOICE_channel(dst_c,channel);	    sprintf(msgtemp,"%s has been granted Voice in this channel",username);	    sprintf(msgtemp2,"%s has granted you Voice in this channel",conn_get_loggeduser(c));	    changed = 1;	  }	}      }    }    if (changed && dst_c) message_send_text(dst_c, message_type_info, c, msgtemp2);    message_send_text(c, message_type_info, c, msgtemp);    command_set_flags(dst_c);    return 0;}static int _handle_devoice_command(t_connection * c, char const * text){    char const *	username;    char const *	channel;    t_account *		acc;    t_connection *	dst_c;    int			done = 0;    int			changed = 0;    if (!(conn_get_channel(c)) || !(channel = channel_get_name(conn_get_channel(c)))) {	message_send_text(c,message_type_error,c,"This command can only be used inside a channel.");	return -1;    }    if (!(account_is_operator_or_admin(conn_get_account(c),channel_get_name(conn_get_channel(c))))) {	message_send_text(c,message_type_error,c,"You must be at least a Channel Operator to use this command.");	return -1;    }    text = skip_command(text);    if (!(username = &text[0])) {	message_send_text(c, message_type_info, c, "You need to supply a username.");	return -1;    }    if(!(acc = accountlist_find_account(username))) {	sprintf(msgtemp, "There's no account with username %.64s.", username);	message_send_text(c, message_type_info, c, msgtemp);	return -1;    }    dst_c = account_get_conn(acc);    if (account_get_auth_voice(acc,channel)==1)    {	if ((account_get_auth_admin(conn_get_account(c),channel)==1) || (account_get_auth_admin(conn_get_account(c),NULL)==1))	{	    account_set_auth_voice(acc,channel,0);	    sprintf(msgtemp,"%s has been removed from VOP list.",username);	    sprintf(msgtemp2,"%s has removed you from VOP list of channel \"%s\"",conn_get_loggeduser(c),channel);	    changed = 1;	}	else	{	    sprintf(msgtemp,"You must be at least Channel Admin to remove %s from the VOP list",username);	}	done = 1;    }    if (changed && dst_c) message_send_text(dst_c, message_type_info, c, msgtemp2);    message_send_text(c, message_type_info, c, msgtemp);    changed = 0;    if ((dst_c) && channel_conn_has_tmpVOICE(conn_get_channel(c),dst_c)==1)    {      conn_set_tmpVOICE_channel(dst_c,NULL);      sprintf(msgtemp,"Voice has been taken from %s in this channel",username);      sprintf(msgtemp2,"%s has taken your Voice in channel \"%s\"",conn_get_loggeduser(c),channel);      changed = 1;      done = 1;    }    if (changed && dst_c) message_send_text(dst_c, message_type_info, c, msgtemp2);    message_send_text(c, message_type_info, c, msgtemp);    if (!done)    {     sprintf(msgtemp,"%s has no Voice in this channel, so it can't be taken away",username);     message_send_text(c, message_type_info, c, msgtemp);    }    command_set_flags(dst_c);    return 0;}static int _handle_op_command(t_connection * c, char const * text){    char const *	username;    char const *	channel;    t_account *		acc;    int			OP_lvl;    t_connection * 	dst_c;    int			changed = 0;    if (!(conn_get_channel(c)) || !(channel = channel_get_name(conn_get_channel(c)))) {	message_send_text(c,message_type_error,c,"This command can only be used inside a channel.");	return -1;    }    acc = conn_get_account(c);    OP_lvl = 0;    if (account_is_operator_or_admin(acc,channel))      OP_lvl = 1;    else if (channel_conn_is_tmpOP(conn_get_channel(c),c))      OP_lvl = 2;    if (OP_lvl==0)    {	message_send_text(c,message_type_error,c,"You must be at least a Channel Operator or tempOP to use this command.");	return -1;    }    text = skip_command(text);    if (!(username = &text[0])) {	message_send_text(c, message_type_info, c, "You need to supply a username.");	return -1;    }    if(!(acc = accountlist_find_account(username))) {	sprintf(msgtemp, "There's no account with username %.64s.", username);	message_send_text(c, message_type_info, c, msgtemp);	return -1;    }    dst_c = account_get_conn(acc);    if (OP_lvl==1) // user is full op so he may fully op others    {      if (account_get_auth_operator(acc,channel) == 1)	  sprintf(msgtemp,"%s is allready a Channel Operator",username);      else {	  account_set_auth_operator(acc,channel,1);	  sprintf(msgtemp,"%s has been promoted to a Channel Operator",username);	  sprintf(msgtemp2,"%s has promoted you to a Channel Operator in channel \"%s\"",conn_get_loggeduser(c),channel);	  changed = 1;      }    }    else { // user is only tempOP so he may only tempOP others         if ((!(dst_c)) || (conn_get_channel(c) != conn_get_channel(dst_c)))          sprintf(msgtemp,"%s must be on the same channel to tempOP him",username);         else         {	   if (account_is_operator_or_admin(acc,channel))	     sprintf(msgtemp,"%s allready is operator or admin, no need to tempOP him",username);	   else	   {             conn_set_tmpOP_channel(dst_c,channel);	     sprintf(msgtemp,"%s has been promoted to a tempOP",username);	     sprintf(msgtemp2,"%s has promoted you to a tempOP in this channel",conn_get_loggeduser(c));	     changed = 1;	   }         }    }    if (changed && dst_c) message_send_text(dst_c, message_type_info, c, msgtemp2);    message_send_text(c, message_type_info, c, msgtemp);    command_set_flags(dst_c);    return 0;}static int _handle_tmpop_command(t_connection * c, char const * text){    char const *	username;    char const *	channel;    t_account *		acc;    t_connection *	dst_c;    int			changed = 0;    if (!(conn_get_channel(c)) || !(channel = channel_get_name(conn_get_channel(c)))) {	message_send_text(c,message_type_error,c,"This command can only be used inside a channel.");	return -1;    }    if (!(account_is_operator_or_admin(conn_get_account(c),channel_get_name(conn_get_channel(c))) || channel_conn_is_tmpOP(conn_get_channel(c),c))) {	message_send_text(c,message_type_error,c,"You must be at least a Channel Operator or tmpOP to use this command.");	return -1;    }    text = skip_command(text);    if (!(username = &text[0])) {	message_send_text(c, message_type_info, c, "You need to supply a username.");	return -1;    }    if(!(acc = accountlist_find_account(username))) {	sprintf(msgtemp, "There's no account with username %.64s.", username);	message_send_text(c, message_type_info, c, msgtemp);	return -1;    }    dst_c = account_get_conn(acc);    if (channel_conn_is_tmpOP(conn_get_channel(c),dst_c))       sprintf(msgtemp,"%s has already tmpOP in this channel",username);    else    {       if ((!(dst_c)) || (conn_get_channel(c) != conn_get_channel(dst_c)))       sprintf(msgtemp,"%s must be on the same channel to tempOP him",username);       else       {	 if (account_is_operator_or_admin(acc,channel))	   sprintf(msgtemp,"%s allready is operator or admin, no need to tempOP him",username);	 else	 {           conn_set_tmpOP_channel(dst_c,channel);           sprintf(msgtemp,"%s has been promoted to tmpOP in this channel",username);	   sprintf(msgtemp2,"%s has promoted you to a tempOP in this channel",conn_get_loggeduser(c));	   changed = 1;	 }       }    }    if (changed && dst_c) message_send_text(dst_c, message_type_info, c, msgtemp2);    message_send_text(c, message_type_info, c, msgtemp);    command_set_flags(dst_c);    return 0;}static int _handle_deop_command(t_connection * c, char const * text){    char const *	username;    char const *	channel;    t_account *		acc;    int			OP_lvl;    t_connection *	dst_c;    int			done = 0;    if (!(conn_get_channel(c)) || !(channel = channel_get_name(conn_get_channel(c)))) {	message_send_text(c,message_type_error,c,"This command can only be used inside a channel.");	return -1;    }    acc = conn_get_account(c);    OP_lvl = 0;    if (account_is_operator_or_admin(acc,channel))      OP_lvl = 1;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩无一区二区| 国产精品18久久久久久久网站| 91麻豆精品国产91久久久使用方法| 国产乱码字幕精品高清av| 一区二区三区精品视频在线| 精品成a人在线观看| 在线观看亚洲a| 不卡高清视频专区| 秋霞成人午夜伦在线观看| 亚洲视频你懂的| 久久久国产午夜精品| 欧美疯狂性受xxxxx喷水图片| av一区二区三区| 国产精品77777| 美女mm1313爽爽久久久蜜臀| 亚洲影院久久精品| 亚洲免费视频成人| 成人欧美一区二区三区1314 | 在线精品国精品国产尤物884a| 狠狠色丁香婷婷综合| 日韩精品电影在线| 夜夜精品视频一区二区| 中文字幕欧美一区| 欧美激情在线看| 久久亚洲私人国产精品va媚药| 91精品中文字幕一区二区三区| 欧美综合一区二区| 色综合久久中文字幕综合网 | 欧美在线观看视频一区二区| 91香蕉视频污在线| 成人午夜精品一区二区三区| 在线免费观看视频一区| 色综合天天性综合| 91丨porny丨国产入口| 99久久夜色精品国产网站| 成人性视频免费网站| 国产精品亚洲专一区二区三区| 国产在线播精品第三| 国内不卡的二区三区中文字幕| 免费不卡在线视频| 九九久久精品视频| 精品在线观看免费| 黑人精品欧美一区二区蜜桃 | 中文字幕日韩一区二区| 日韩美女视频一区二区| 亚洲欧美日韩一区| 亚洲综合一区在线| 日日摸夜夜添夜夜添精品视频 | 99久久久国产精品| 色综合视频一区二区三区高清| 色播五月激情综合网| 色拍拍在线精品视频8848| 91福利精品第一导航| 欧美日本免费一区二区三区| 欧美丰满美乳xxx高潮www| 欧美日韩高清不卡| 日韩一卡二卡三卡四卡| 精品少妇一区二区三区在线播放 | 国产精品看片你懂得| 亚洲女与黑人做爰| 亚洲r级在线视频| 美国毛片一区二区三区| 精品一区二区av| 成人免费毛片片v| 91在线国产观看| 欧美日韩aaaaa| 久久视频一区二区| 中文字幕一区在线| 亚洲综合偷拍欧美一区色| 日韩黄色免费电影| 国产精品一区二区久久不卡| 色系网站成人免费| 日韩一级完整毛片| 中文字幕第一区综合| 亚洲小说春色综合另类电影| 久久精品国产精品亚洲精品| av一二三不卡影片| 欧美喷水一区二区| 久久精品水蜜桃av综合天堂| 亚洲精品综合在线| 激情综合网av| 色激情天天射综合网| 精品国产a毛片| 一区二区三区四区乱视频| 麻豆成人久久精品二区三区小说| 丁香婷婷综合色啪| 国产精品三级电影| 水蜜桃久久夜色精品一区的特点| 粉嫩aⅴ一区二区三区四区五区| 欧美日韩免费不卡视频一区二区三区| 精品99999| 亚洲成人你懂的| 成人午夜在线免费| 欧美一区二区三区视频在线观看| 中文字幕一区二区三区在线不卡| 视频在线观看91| 色婷婷综合久久久久中文一区二区| 337p粉嫩大胆噜噜噜噜噜91av| 亚洲色图视频网站| 激情欧美一区二区三区在线观看| 欧美综合天天夜夜久久| 国产欧美一区二区在线| 免费观看成人鲁鲁鲁鲁鲁视频| 日本乱人伦aⅴ精品| 久久精品免视看| 免费观看在线综合| 欧美日韩高清在线| 日韩毛片在线免费观看| 懂色av中文一区二区三区| 日韩亚洲欧美一区| 五月婷婷色综合| 一本色道久久综合狠狠躁的推荐| 久久久久97国产精华液好用吗| 日韩精品免费视频人成| 欧美色综合久久| 亚洲三级在线看| 成人久久18免费网站麻豆 | 中文在线免费一区三区高中清不卡| 蜜臀久久99精品久久久久宅男 | 另类专区欧美蜜桃臀第一页| 欧美猛男gaygay网站| 久久久www免费人成精品| 婷婷丁香久久五月婷婷| 99re视频这里只有精品| 国产精品午夜免费| 大陆成人av片| 欧美经典三级视频一区二区三区| 成人午夜电影小说| 男女男精品网站| 亚洲精品国产品国语在线app| 国产欧美一区二区三区网站| 又紧又大又爽精品一区二区| 亚洲综合精品久久| 国产成人在线视频免费播放| 欧美日韩不卡在线| 国产欧美一区视频| 亚洲精品久久久久久国产精华液| 亚洲成人免费影院| 亚洲欧洲在线观看av| 18成人在线观看| 国产精品免费视频一区| 欧美一区二区三区在线观看视频 | 国产亚洲欧洲一区高清在线观看| 欧美日韩一区 二区 三区 久久精品| 99精品欧美一区二区蜜桃免费| 九色|91porny| 国产一区二区免费视频| 美女mm1313爽爽久久久蜜臀| 视频一区免费在线观看| 亚洲成av人在线观看| 午夜久久电影网| 免费高清在线视频一区·| 久久精品国产亚洲a| 久久99久久久久久久久久久| 色婷婷av久久久久久久| 亚洲成a人v欧美综合天堂下载| 国产乱码精品一区二区三区av| 国产成人自拍网| 色综合久久久久综合99| 一本色道久久综合亚洲91| 26uuu国产电影一区二区| 中文字幕精品三区| 国产在线一区二区综合免费视频| 欧美日韩一区成人| 蜜桃av一区二区在线观看| 亚洲国产精品v| 欧美午夜片在线看| 国产毛片精品视频| 亚洲综合色成人| 久久免费的精品国产v∧| 91成人在线观看喷潮| 久久国产人妖系列| 自拍偷拍国产精品| 日韩欧美自拍偷拍| 播五月开心婷婷综合| 天天综合色天天综合| 国产亚洲一本大道中文在线| 91黄色免费看| 国产中文字幕一区| 亚洲国产欧美在线| 久久久不卡网国产精品一区| 欧美色手机在线观看| 国产精品18久久久久| 午夜久久久久久| 国产精品福利av| 欧美一区二区三区成人| 91丝袜美腿高跟国产极品老师| 蜜臀av一区二区在线观看| 亚洲乱码中文字幕综合| 亚洲精品一区二区三区精华液 | 国产日韩欧美精品一区| 欧美偷拍一区二区| 国产91在线|亚洲| 视频一区在线播放| 日韩理论电影院| 久久久久久免费网| 欧美乱妇一区二区三区不卡视频 | 欧美一区二区视频在线观看2022| av动漫一区二区| 国模一区二区三区白浆|