rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
function IRCClient_affect_mode_list(tmp_add,list_bit) { for (tmp_index in chan_tmplist[list_bit]) { tmp_nick = searchbynick(chan_tmplist[list_bit][tmp_index]); if (!tmp_nick) tmp_nick = searchbynick(search_nickbuf(chan_tmplist[list_bit][tmp_index])); if (tmp_nick) { if (tmp_add && (!chan.ismode(tmp_nick.id,list_bit))) ... | function IRCClient_affect_mode_list(list_bit) { for (x=list_bit;x<=(list_bit+1);x++) { for (tmp_index in chan_tmplist[x]) { if (list_bit >= CHANLIST_BAN) { if (x == CHANLIST_BAN) { set_ban = create_ban_mask(chan_tmplist[x][tmp_index]); if (chan.count_modelist(CHANLIST_BAN) >= max_bans) { this.numeric(478, chan.nam + " ... | function IRCClient_affect_mode_list(tmp_add,list_bit) { for (tmp_index in chan_tmplist[list_bit]) { tmp_nick = searchbynick(chan_tmplist[list_bit][tmp_index]); if (!tmp_nick) tmp_nick = searchbynick(search_nickbuf(chan_tmplist[list_bit][tmp_index])); if (tmp_nick) { // FIXME: check for user existing on channel? ... |
} else { this.numeric401(chan_tmplist[list_bit][tmp_index]); | function IRCClient_affect_mode_list(tmp_add,list_bit) { for (tmp_index in chan_tmplist[list_bit]) { tmp_nick = searchbynick(chan_tmplist[list_bit][tmp_index]); if (!tmp_nick) tmp_nick = searchbynick(search_nickbuf(chan_tmplist[list_bit][tmp_index])); if (tmp_nick) { // FIXME: check for user existing on channel? ... | |
function IRCClient_affect_mode_list(list_bit) { | function IRCClient_affect_mode_list(list_bit,chan) { | function IRCClient_affect_mode_list(list_bit) { for (x=list_bit;x<=(list_bit+1);x++) { for (tmp_index in chan_tmplist[x]) { if (list_bit >= CHANLIST_BAN) { if (x == CHANLIST_BAN) { set_ban = create_ban_mask(chan_tmplist[x][tmp_index]); if (chan.count_modelist(CHANLIST_BAN) >= max_bans) { this.numeric... |
tmp_nickid = tmp_nick.id; if (tmp_nickid) { if (tmp_add && (!chan.ismode(tmp_nickid,list_bit))) { | if (!tmp_nick) tmp_nick = searchbynick(search_nickbuf(chan_tmplist[list_bit][tmp_index])); if (tmp_nick) { if (tmp_add && (!chan.ismode(tmp_nick.id,list_bit))) { | function IRCClient_affect_mode_list(tmp_add,list_bit) { for (tmp_index in chan_tmplist[list_bit]) { tmp_nick = searchbynick(chan_tmplist[list_bit][tmp_index]); tmp_nickid = tmp_nick.id; if (tmp_nickid) { if (tmp_add && (!chan.ismode(tmp_nickid,list_bit))) { addmodes += const_modechar[list_bit]; addmodeargs +... |
chan.add_modelist(tmp_nickid,list_bit); } else if (chan.ismode(tmp_nickid,list_bit-1)) { | chan.add_modelist(tmp_nick.id,list_bit); } else if (chan.ismode(tmp_nick.id,list_bit-1)) { | function IRCClient_affect_mode_list(tmp_add,list_bit) { for (tmp_index in chan_tmplist[list_bit]) { tmp_nick = searchbynick(chan_tmplist[list_bit][tmp_index]); tmp_nickid = tmp_nick.id; if (tmp_nickid) { if (tmp_add && (!chan.ismode(tmp_nickid,list_bit))) { addmodes += const_modechar[list_bit]; addmodeargs +... |
chan.del_modelist(tmp_nickid,list_bit-1); | chan.del_modelist(tmp_nick.id,list_bit-1); | function IRCClient_affect_mode_list(tmp_add,list_bit) { for (tmp_index in chan_tmplist[list_bit]) { tmp_nick = searchbynick(chan_tmplist[list_bit][tmp_index]); tmp_nickid = tmp_nick.id; if (tmp_nickid) { if (tmp_add && (!chan.ismode(tmp_nickid,list_bit))) { addmodes += const_modechar[list_bit]; addmodeargs +... |
this.numeric441(cm_cmd[1]); | function IRCClient_affect_mode_list(tmp_add,list_bit) { for (tmp_index in chan_tmplist[list_bit]) { tmp_nick = searchbynick(chan_tmplist[list_bit][tmp_index]); tmp_nickid = tmp_nick.id; if (tmp_nickid) { if (tmp_add && (!chan.ismode(tmp_nickid,list_bit))) { addmodes += const_modechar[list_bit]; addmodeargs +... | |
!sent_to_servers[aUser.parent]) { | !sent_to_servers[aUser.parent.toLowerCase()]) { | function IRCClient_bcast_to_channel_servers(chan, str) { var sent_to_servers = new Array; for(thisUser in chan.users) { var aUser=chan.users[thisUser]; if (!aUser.local && (this.parent != aUser.parent) && !sent_to_servers[aUser.parent]) { aUser.originatorout(str,this); sent_to_servers[aUser.parent] = true; ... |
sent_to_servers[aUser.parent] = true; | sent_to_servers[aUser.parent.toLowerCase()] = true; | function IRCClient_bcast_to_channel_servers(chan, str) { var sent_to_servers = new Array; for(thisUser in chan.users) { var aUser=chan.users[thisUser]; if (!aUser.local && (this.parent != aUser.parent) && !sent_to_servers[aUser.parent]) { aUser.originatorout(str,this); sent_to_servers[aUser.parent] = true; ... |
var sent_to_servers = new Array; | var sent_to_servers = new Object; | function IRCClient_bcast_to_channel_servers(chan, str) { var sent_to_servers = new Array; for(thisUser in chan.users) { var aUser=chan.users[thisUser]; if (!aUser.local && (this.parent != aUser.parent) && !sent_to_servers[aUser.parent.toLowerCase()]) { aUser.originatorout(str,this); sent_to_servers[aUser.par... |
function IRCClient_bcast_to_servers(str) { | function IRCClient_bcast_to_servers(str,type) { | function IRCClient_bcast_to_servers(str) { for(thisClient in Local_Servers) { if (Local_Servers[thisClient].nick != this.parent) Local_Servers[thisClient].originatorout(str,this); }} |
if (Local_Servers[thisClient].nick != this.parent) | var srv = Local_Servers[thisClient]; if ( (srv.nick != this.parent) && (!type || (srv.type == type))) | function IRCClient_bcast_to_servers(str) { for(thisClient in Local_Servers) { if (Local_Servers[thisClient].nick != this.parent) Local_Servers[thisClient].originatorout(str,this); }} |
function IRCClient_bcast_to_servers_raw(str) { | function IRCClient_bcast_to_servers_raw(str,type) { | function IRCClient_bcast_to_servers_raw(str) { for(thisClient in Local_Servers) { if (Local_Servers[thisClient].nick != this.parent) Local_Servers[thisClient].rawout(str); }} |
if (Local_Servers[thisClient].nick != this.parent) | var srv = Local_Servers[thisClient]; if ( (srv.nick != this.parent) && (!type || (srv.type == type))) | function IRCClient_bcast_to_servers_raw(str) { for(thisClient in Local_Servers) { if (Local_Servers[thisClient].nick != this.parent) Local_Servers[thisClient].rawout(str); }} |
var already_bcast = new Array(); | var already_bcast = new Object; | function IRCClient_bcast_to_uchans_unique(str) { var already_bcast = new Array(); for(thisChannel in this.channels) { var userchannel=this.channels[thisChannel]; for (j in userchannel.users) { var usr = userchannel.users[j]; if (!already_bcast[usr.nick] && (usr.id != this.id) && usr.local) { usr.originatorout(... |
qline_nick = QLines[ql].nick; qline_nick = qline_nick.replace(/[?]/g,"."); qline_nick = qline_nick.replace(/[*]/g,".*?"); regexp = new RegExp("^" + qline_nick + "$","i"); if(newnick.match(regexp)) { | if(wildmatch(newnick, QLines[ql].nick)) { | function IRCClient_check_nickname(newnick,squelch) { var qline_nick; var checknick; var regexp; newnick = newnick.slice(0,max_nicklen); // If you're trying to NICK to yourself, drop silently. if(newnick == this.nick) return -1; // First, check for valid nick against irclib. if(IRC_check_nick(newnick)) { if (!squelch)... |
if(newnick.toUpperCase() == this.nick.toUpperCase()) | if(newnick == this.nick) | function IRCClient_check_nickname(newnick) { newnick = newnick.slice(0,max_nicklen); // If you're trying to NICK to yourself, drop silently. if(newnick.toUpperCase() == this.nick.toUpperCase()) return 0; // First, check for valid characters. regexp="^[A-Za-z\{\}\`\^\_\|\\]\\[\\\\][A-Za-z0-9\-\{\}\`\^\_\|\\]\\[\\\\]*$"... |
if(searchbynick(newnick)) { | checknick = searchbynick(newnick); if(checknick && (checknick.nick != this.nick) ) { | function IRCClient_check_nickname(newnick) { newnick = newnick.slice(0,max_nicklen); // If you're trying to NICK to yourself, drop silently. if(newnick.toUpperCase() == this.nick.toUpperCase()) return 0; // First, check for valid characters. regexp="^[A-Za-z\{\}\`\^\_\|\\]\\[\\\\][A-Za-z0-9\-\{\}\`\^\_\|\\]\\[\\\\]*$"... |
umode_notice(USERMODE_SPY,"ADMIN requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); | function IRCClient_do_admin() { if (Admin1 && Admin2 && Admin3) { this.numeric(256, ":Administrative info about " + servername); this.numeric(257, ":" + Admin1); this.numeric(258, ":" + Admin2); this.numeric(259, ":" + Admin3); } else { this.numeric(423, servername + " :No administrative information available."); ... | |
if (!chkwho) umode_notice(USERMODE_OPER,"Notice","WHO returned 0 for user: " + usr.nick + " (A)"); | if (!chkwho) { umode_notice(USERMODE_OPER,"Notice", "WHO returned 0 for user: " + usr.nick + " (A)"); } | function IRCClient_do_basic_who(whomask) { var eow = "*"; var regexp = "^[0]{1,}$"; if (whomask.match(regexp)) whomask = "*"; if ((whomask[0] == "#") || (whomask[0] == "&")) { var chan = Channels[whomask.toUpperCase()]; if (chan && ( ( !(chan.mode&CHANMODE_SECRET) && !(chan.mode&CHANMODE_PRIVATE) ) || this... |
if (!chkwho) umode_notice(USERMODE_OPER,"Notice","WHO returned 0 for user: " + usr.nick + " (B)"); | if (!chkwho) { umode_notice(USERMODE_OPER,"Notice", "WHO returned 0 for user: " + usr.nick + " (B)"); } | function IRCClient_do_basic_who(whomask) { var eow = "*"; var regexp = "^[0]{1,}$"; if (whomask.match(regexp)) whomask = "*"; if ((whomask[0] == "#") || (whomask[0] == "&")) { var chan = Channels[whomask.toUpperCase()]; if (chan && ( ( !(chan.mode&CHANMODE_SECRET) && !(chan.mode&CHANMODE_PRIVATE) ) || this... |
this.numeric352(Clients[Channels[chan].users[i]],Channels[chan]); | this.numeric352(Clients[Channels[chan].users[i]],false,Channels[chan]); | function IRCClient_do_basic_who(whomask) { var eow = "*"; if ((whomask[0] == "#") || (whomask[0] == "&")) { var chan = whomask.toUpperCase(); if (Channels[chan] != undefined) { var channel=Channels[chan].nam; for(i in Channels[chan].users) { if (Channels[chan].users[i]) this.numeric352(Clients[Channels[cha... |
if (Channels[chan] != undefined) { var channel=Channels[chan].nam; | if ((Channels[chan] != undefined) && ( ( !(Channels[chan].mode&CHANMODE_SECRET) && !(Channels[chan].mode&CHANMODE_PRIVATE) ) || this.onchannel(chan) || (this.mode&USERMODE_OPER)) ) { | function IRCClient_do_basic_who(whomask) { var eow = "*"; var regexp = "^[0]{1,}$"; if (whomask.match(regexp)) whomask = "*"; if ((whomask[0] == "#") || (whomask[0] == "&")) { var chan = whomask.toUpperCase(); if (Channels[chan] != undefined) { var channel=Channels[chan].nam; for(i in Channels[chan].users) { ... |
if (Channels[chan].users[i]) | var usr = Clients[Channels[chan].users[i]]; if (usr && (!(usr.mode&USERMODE_INVISIBLE) || (this.mode&USERMODE_OPER) || this.onchanwith(usr) ) ) | function IRCClient_do_basic_who(whomask) { var eow = "*"; var regexp = "^[0]{1,}$"; if (whomask.match(regexp)) whomask = "*"; if ((whomask[0] == "#") || (whomask[0] == "&")) { var chan = whomask.toUpperCase(); if (Channels[chan] != undefined) { var channel=Channels[chan].nam; for(i in Channels[chan].users) { ... |
if (Clients[i] && !Clients[i].server && ((Clients[i].conntype > 1) && (Clients[i].conntype < 4)) && Clients[i].match_who_mask(whomask)) | var usr = Clients[i]; if (usr && !usr.server && ((usr.conntype > 1) && (usr.conntype < 4)) && usr.match_who_mask(whomask) && (!(usr.mode&USERMODE_INVISIBLE) || (this.mode&USERMODE_OPER) || this.onchanwith(usr) ) ) | function IRCClient_do_basic_who(whomask) { var eow = "*"; var regexp = "^[0]{1,}$"; if (whomask.match(regexp)) whomask = "*"; if ((whomask[0] == "#") || (whomask[0] == "&")) { var chan = whomask.toUpperCase(); if (Channels[chan] != undefined) { var channel=Channels[chan].nam; for(i in Channels[chan].users) { ... |
(Channels[aChan].count_users() < list.People) ) | (true_array_len(Channels[aChan].users) < list.People) ) | function IRCClient_do_complex_list(cmd) { var add = true; var arg = 1; var list = new List(); var listmask; var listmask_items; this.numeric321(); for (lc in cmd[1]) { switch(cmd[1][lc]) { case "+": if (!add) add = true; break; case "-": if (add) add = false; break; case "a": arg++; if ... |
(Channels[aChan].count_users() >= list.People) ) | (true_array_len(Channels[aChan].users) >= list.People) ) | function IRCClient_do_complex_list(cmd) { var add = true; var arg = 1; var list = new List(); var listmask; var listmask_items; this.numeric321(); for (lc in cmd[1]) { switch(cmd[1][lc]) { case "+": if (!add) add = true; break; case "-": if (add) add = false; break; case "a": arg++; if ... |
if (listmask && !Channels[aChan].match_list_mask(listmask)) continue; | if (listmask) listmask_items = listmask.split(","); var l_match = false; if (listmask_items) { for (l in listmask_items) { if (Channels[aChan].match_list_mask (listmask_items[l])) { l_match = true; break; } } if (!l_match) continue; } | function IRCClient_do_complex_list(cmd) { var add = true; var arg = 1; var list = new List(); var listmask; for (lc in cmd[1]) { switch(cmd[1][lc]) { case "+": if (!add) add = true; break; case "-": if (add) add = false; break; case "a": arg++; if (cmd[arg]) { list.tweak_mode(LIST_C... |
if(wc.channels[x] && (!(Channels[wc.channels[x]].mode& CHANMODE_SECRET || Channels[wc.channels[x]].mode& CHANMODE_PRIVATE ) || this.channels[wc.channels[x].toUpperCase]|| this.mode&USERMODE_OPER) ) { chan = Channels[wc.channels[x]].nam; | if (!(Channels[x].mode&CHANMODE_SECRET || Channels[x].mode&CHANMODE_PRIVATE) || this.channels[x] || this.mode&USERMODE_OPER) { chan = Channels[x].nam; | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; // RFC1459 Compatibility. "WHO <mask> o" Only do it if we find a // wildcard, otherwise assume we're doing a complex WHO with 'modes' ... |
} if (who.Channel) | } else if (who.Channel) { | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; // RFC1459 Compatibility. "WHO <mask> o" Only do it if we find a // wildcard, otherwise assume we're doing a complex WHO with 'modes' ... |
var chkwho = this.numeric352(wc,show_ips_only,Channels[chan.toUpperCase()]); if (!chkwho) umode_notice(USERMODE_OPER,"Notice","WHO returned 0 for user: " + wc.nick + " (C)"); | var chkwho = this.numeric352(wc,show_ips_only, Channels[chan.toUpperCase()]); if (!chkwho) { umode_notice(USERMODE_OPER,"Notice", "WHO returned 0 for user: " + wc.nick + " (C)"); } | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; // RFC1459 Compatibility. "WHO <mask> o" Only do it if we find a // wildcard, otherwise assume we're doing a complex WHO with 'modes' ... |
if (!chkwho) umode_notice(USERMODE_OPER,"Notice","WHO returned 0 for user: " + wc.nick + " (D)"); | if (!chkwho) { umode_notice(USERMODE_OPER,"Notice", "WHO returned 0 for user: " + wc.nick + " (D)"); } | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; // RFC1459 Compatibility. "WHO <mask> o" Only do it if we find a // wildcard, otherwise assume we're doing a complex WHO with 'modes' ... |
if (sic) break; | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... | |
wc.id,CHANLIST_OP)) | wc.id,CHANMODE_OP)) | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... |
wc.id,CHANLIST_VOICE)) | wc.id,CHANMODE_VIOCE)) | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... |
wc.id,CHANLIST_VOICE)) | wc.id,CHANMODE_VOICE)) | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... |
if (cmd[2] && cmd[2].toLowerCase() == "o") { | if (cmd[2] && ( (cmd[1].match(/[*]/)) || cmd[1].match(/[?]/)) || (cmd[1].match(/[0]/)) && !cmd[3] && (cmd[2].toLowerCase() == "o")) { | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... |
(!(this.mode&USERMODE_OPER) || !flag_M) ) | !(this.mode&USERMODE_OPER) && !flag_M) | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... |
wc.id,CHANMODE_VIOCE)) | wc.id,CHANMODE_VOICE)) | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... |
USERMODE_OPER)) | USERMODE_CHAR [who.UMode[mm]]) ) | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... |
USERMODE_OPER)) ) sic = true; break; case "i": if ( (!madd && (wc.mode& USERMODE_INVISIBLE)) || (madd && !(wc.mode& USERMODE_INVISIBLE)) ) | USERMODE_CHAR [who.UMode[mm]]) ) ) | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... |
log("--mark: " + wc.nick); | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add = true; // assume the user is doing + by default var arg = 1; var whomask = ""; var chan; if (cmd[2] && cmd[2].toLowerCase() == "o") { // RFC1459 Compatibility. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in ... | |
var add; | var add = true; | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add; var arg = 1; var whomask = ""; var chan; if (cmd[2].toLowerCase() == "o") { // Compatibility with RFC1459. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in cmd[1]) { switch (cmd[1][myflag]) { case "+": i... |
if (cmd[2].toLowerCase() == "o") { | if (cmd[2] && cmd[2].toLowerCase() == "o") { | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add; var arg = 1; var whomask = ""; var chan; if (cmd[2].toLowerCase() == "o") { // Compatibility with RFC1459. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in cmd[1]) { switch (cmd[1][myflag]) { case "+": i... |
if (who_count >= max_who) | if (!(this.mode&USERMODE_OPER) && (who_count >= max_who)) | function IRCClient_do_complex_who(cmd) { var who = new Who(); var tmp; var eow = "*"; var add; var arg = 1; var whomask = ""; var chan; if (cmd[2].toLowerCase() == "o") { // Compatibility with RFC1459. tmp = cmd[1]; cmd[1] = cmd[2]; cmd[2] = tmp; } for (myflag in cmd[1]) { switch (cmd[1][myflag]) { case "+": i... |
if (this.parent) | if (this.parent) { | function IRCClient_do_connect(con_server,con_port) { var con_cline = ""; for (ccl in CLines) { if (match_irc_mask(CLines[ccl].servername,con_server) || match_irc_mask(CLines[ccl].host,con_server) ) { con_cline = CLines[ccl]; break; } } if (!con_cline) { this.numeric402(con_server); return 0; } if (!con_por... |
oper_notice("Routing","from " + servername + ": " + con_type + " CONNECT " + con_cline.servername + " " + con_port + " from " + this.nick + "[" + this.uprefix + "@" + this.hostname + "]"); | server_bcast_to_servers("GNOTICE :Remote" + msg); } umode_notice(USERMODE_ROUTING,"Routing","from "+servername+": " + con_type + msg); | function IRCClient_do_connect(con_server,con_port) { var con_cline = ""; for (ccl in CLines) { if (match_irc_mask(CLines[ccl].servername,con_server) || match_irc_mask(CLines[ccl].host,con_server) ) { con_cline = CLines[ccl]; break; } } if (!con_cline) { this.numeric402(con_server); return 0; } if (!con_por... |
this.numeric(371, ": IRCd Copyright 2003 by Randolph E. Sommerfeld <cyan@rrx.ca>"); | this.numeric(371, ": IRCd Copyright 2003-2004 by Randolph E. Sommerfeld <cyan@rrx.ca>"); | function IRCClient_do_info() { umode_notice(USERMODE_SPY,"Spy","INFO requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); this.numeric(371, ":--=-=-=-=-=-=-=-=-=*[ The Synchronet IRCd v1.1b ]*=-=-=-=-=-=-=-=-=--"); this.numeric(371, ": IRCd Copyright 2003 by Rand... |
this.numeric(371, ":Greets to: Arrak, DWC, Foobar, Grey Fox/Zero/Unpaid, Grimp, Kufat,"); this.numeric(371, ": Palom, Psyko, Torke, and all the #square oldbies."); | this.numeric(371, ":Greets to: Arrak, Elayne, Elvish Merchant, Foobar, Grimp, Kufat,"); this.numeric(371, ": Nex, Palom, Psyko, Shaun, Torke, and all the #square oldbies."); | function IRCClient_do_info() { umode_notice(USERMODE_SPY,"Spy","INFO requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); this.numeric(371, ":--=-=-=-=-=-=-=-=-=*[ The Synchronet IRCd v1.1b ]*=-=-=-=-=-=-=-=-=--"); this.numeric(371, ": IRCd Copyright 2003-2005 by R... |
this.numeric(371, ":Synchronet " + system.full_version); | function IRCClient_do_info() { this.numeric(371, ":" + VERSION + " Copyright 2003 Randy Sommerfeld."); this.numeric(371, ":" + system.version_notice + " " + system.copyright + "."); this.numeric(371, ": "); this.numeric(371, ":--- A big thanks to the following for their assistance: ---"); this.numeric(371, ": Deuce... | |
this.numeric(371, ":Compiled with " + system.compiled_with + " at " + system.compiled_when); | function IRCClient_do_info() { umode_notice(USERMODE_SPY,"Spy","INFO requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); this.numeric(371, ":--=-=-=-=-=-=-=-=-=*[ The Synchronet IRCd v1.1b ]*=-=-=-=-=-=-=-=-=--"); this.numeric(371, ": IRCd Copyright 2003 by Rand... | |
this.numeric(371, ":Main: " + MAIN_REVISION + " User: " + USER_REVISION + " Channel: " + CHANNEL_REVISION + " Server: " + SERVER_REVISION + " Unreg: " + UNREG_REVISION); | this.numeric(371, ":Main(" + MAIN_REVISION + ") User(" + USER_REVISION + ") Channel(" + CHANNEL_REVISION + ") Server(" + SERVER_REVISION + ") Unreg(" + UNREG_REVISION + ")"); | function IRCClient_do_info() { umode_notice(USERMODE_SPY,"Spy","INFO requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); this.numeric(371, ":--=-=-=-=-=-=-=-=-=*[ The Synchronet IRCd v1.1b ]*=-=-=-=-=-=-=-=-=--"); this.numeric(371, ": IRCd Copyright 2003 by Rand... |
umode_notice(USERMODE_SPY,"Spy","INFO requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); | function IRCClient_do_info() { this.numeric(371, ":" + VERSION + " Copyright 2003 Randy Sommerfeld."); this.numeric(371, ":" + system.version_notice + " " + system.copyright + "."); this.numeric(371, ": "); this.numeric(371, ":--- A big thanks to the following for their assistance: ---"); this.numeric(371, ": Deuce... | |
if (this.invited == Channels[chan].nam) | if (this.invited.toUpperCase() == Channels[chan].nam.toUpperCase()) | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar].cha... |
chan = chan_name.toUpperCase().slice(0,max_chanlen); | var chan = chan_name.toUpperCase().slice(0,max_chanlen); | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar].cha... |
str="JOIN :" + Channels[chan].nam; | var str="JOIN :" + Channels[chan].nam; | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar].cha... |
server_bcast_to_servers(":" + servername + " SJOIN " + Channels[chan].created + " " + Channels[chan].nam + " " + Channels[chan].chanmode() + " :" + this.nick); | server_bcast_to_servers(":" + this.nick + " SJOIN " + Channels[chan].created + " " + Channels[chan].nam); | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar].cha... |
if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) { this.numeric(479, chan_name + " :Channel name contains illegal characters."); | for (theChar in chan_name) { var theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar].charCodeAt(0) == 160)) { if (this.local) this.numeric(479, chan_name + " :Channel name contains illegal characters."); return 0; | function IRCClient_do_join(chan_name,join_key) { chan_name = chan_name.slice(0,max_chanlen) var uc_chan_name = chan_name.toUpperCase(); if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) { th... |
return 0; | function IRCClient_do_join(chan_name,join_key) { chan_name = chan_name.slice(0,max_chanlen) var uc_chan_name = chan_name.toUpperCase(); if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) { th... | |
for (theChar in chan_name) { if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) this.numeric(479, chan_name + " :Channel name contains illegal characters."); return 0; | if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) { this.numeric(479, chan_name + " :Channel name contains illegal characters."); | function IRCClient_do_join(chan_name,join_key) { chan_name = chan_name.slice(0,max_chanlen) var uc_chan_name = chan_name.toUpperCase(); if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!... |
return 0; | function IRCClient_do_join(chan_name,join_key) { chan_name = chan_name.slice(0,max_chanlen) var uc_chan_name = chan_name.toUpperCase(); if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!... | |
var create_op; | var create_op = ""; | function IRCClient_do_join(chan_name,join_key) { chan_name = chan_name.slice(0,max_chanlen) var uc_chan_name = chan_name.toUpperCase(); if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) this... |
(Channels[chan].count_users() >= Channels[chan].limit)) { | (Channels[chan].count_users() >= Channels[chan].arg[CHANMODE_LIMIT])) { | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar].cha... |
(Channels[chan].key != join_key)) { | (Channels[chan].arg[CHANMODE_KEY] != join_key)) { | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar].cha... |
Channels[chan].modelist[CHANLIST_BAN] = new Array(); Channels[chan].modelist[CHANLIST_VOICE] = new Array(); Channels[chan].modelist[CHANLIST_OP] = new Array(); Channels[chan].modelist[CHANLIST_OP].push(this.id); str="JOIN :" + chan_name; | Channels[chan].modelist[CHANMODE_BAN] = new Array(); Channels[chan].modelist[CHANMODE_VOICE] = new Array(); Channels[chan].modelist[CHANMODE_OP] = new Array(); Channels[chan].modelist[CHANMODE_OP].push(this.id); var str="JOIN :" + chan_name; | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { var theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar]... |
} | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { var theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar]... | |
if (this.parent) | if (this.parent) { | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { var theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar]... |
else | } else { | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { var theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar]... |
if (Channels[chan].topic) { this.numeric332(Channels[chan]); this.numeric333(Channels[chan]); } else { this.numeric331(Channels[chan]); } | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { var theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar]... | |
server_bcast_to_servers(":" + this.nick + " SJOIN " + Channels[chan].created + " " + Channels[chan].nam); | server_bcast_to_servers(":" + this.nick + " SJOIN " + Channels[chan].created + " " + Channels[chan].nam,BAHAMUT); server_bcast_to_servers(":" + this.nick + " JOIN " + Channels[chan].created,DREAMFORGE); | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { var theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar]... |
this.originatorout(str,this); if (chan_name[0] != "&") server_bcast_to_servers(":" + servername + " SJOIN " + Channels[chan].created + " " + Channels[chan].nam + " " + Channels[chan].chanmode() + " :@" + this.nick); | var create_op = ""; if (this.local) { this.originatorout(str,this); create_op = "@"; } if (chan_name[0] != "&") { server_bcast_to_servers(":" + servername + " SJOIN " + Channels[chan].created + " " + Channels[chan].nam + " " + Channels[chan].chanmode() + " :" + create_op + this.nick,BAHAMUT); server_bcast_to_servers(":... | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { var theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar]... |
if (chan_name[0] != "&") server_bcast_to_servers(":" + this.nick + " SJOIN " | if (chan_name[0] != "&") { this.bcast_to_servers_raw(":" + this.nick + " SJOIN " | function IRCClient_do_join(chan_name,join_key) { chan_name = chan_name.slice(0,max_chanlen) var uc_chan_name = chan_name.toUpperCase(); if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) this... |
server_bcast_to_servers(":" + this.nick + " JOIN " | this.bcast_to_servers_raw(":" + this.nick + " JOIN " | function IRCClient_do_join(chan_name,join_key) { chan_name = chan_name.slice(0,max_chanlen) var uc_chan_name = chan_name.toUpperCase(); if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) this... |
var create_op = ""; | var create_op; | function IRCClient_do_join(chan_name,join_key) { chan_name = chan_name.slice(0,max_chanlen) var uc_chan_name = chan_name.toUpperCase(); if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) this... |
server_bcast_to_servers(":" + servername + " SJOIN " | this.bcast_to_servers_raw(":" + servername + " SJOIN " | function IRCClient_do_join(chan_name,join_key) { chan_name = chan_name.slice(0,max_chanlen) var uc_chan_name = chan_name.toUpperCase(); if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } if(chan_name.search(/[\x00-\x20\x2c\xa0]/)!=-1) { if (this.local) this... |
(Channels[chan].count_users() >= Channels[chan].arg[CHANMODE_LIMIT])) { | (true_array_len(Channels[chan].users) >= Channels[chan].arg[CHANMODE_LIMIT])) { | function IRCClient_do_join(chan_name,join_key) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } for (theChar in chan_name) { var theChar_code = chan_name[theChar].charCodeAt(0); if ((theChar_code <= 32) || (theChar_code == 44) || (chan_name[theChar]... |
if (wildmatch(Server.nick,mask)) this.numeric(364, Server.nick + " " + Server.linkparent + " :" + Server.hops + " " + Server.info); | if (wildmatch(Server.nick,mask)) { this.numeric(364, Server.nick + " " + Server.linkparent + " :" + Server.hops + " " + Server.info); } | function IRCClient_do_links(mask) { if (!mask) mask = "*"; umode_notice(USERMODE_SPY,"Spy","LINKS " + mask + " requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); for(thisServer in Servers) { var Server=Servers[thisServer]; if (wildmatch(Server.nick,mask)) thi... |
var mask = "*"; | mask = "*"; | function IRCClient_do_links(mask) { if (!mask) var mask = "*"; for(thisServer in Clients) { var Server=Clients[thisServer]; if (Server && (Server.conntype == TYPE_SERVER) && match_irc_mask(Server.nick,mask) ) this.numeric(364, Server.nick + " " + Server.linkparent + " :" + Server.hops + " " + Server.realname)... |
umode_notice(USERMODE_SPY,"Spy","LINKS " + mask + " requested from " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); | function IRCClient_do_links(mask) { if (!mask) mask = "*"; for(thisServer in Clients) { var Server=Clients[thisServer]; if (Server && (Server.conntype == TYPE_SERVER) && match_irc_mask(Server.nick,mask) ) this.numeric(364, Server.nick + " " + Server.linkparent + " :" + Server.hops + " " + Server.realname); } ... | |
if ((chan.mode&CHANMODE_NOOUTSIDE) && !this.channels[chan.nam.toUpperCase()]) { this.numeric(404, chan.nam + " :Cannot send to channel (+n: no outside messages)"); | if ((chan.mode&CHANMODE_NOOUTSIDE) && !this.channels[chan.nam.toUpperCase()]) { this.numeric(404, chan.nam + " :Cannot send to channel " + "(+n: no outside messages)"); | function IRCClient_do_msg(target,type_str,send_str) { if ( (target[0] == "$") && (this.mode&USERMODE_OPER) && ( (this.flags&OLINE_CAN_LGNOTICE) || !this.local) ) return this.global(target,type_str,send_str); var send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_l... |
this.numeric(404, chan.nam + " :Cannot send to channel (+m: moderated)"); | this.numeric(404, chan.nam + " :Cannot send to channel " + "(+m: moderated)"); | function IRCClient_do_msg(target,type_str,send_str) { if ( (target[0] == "$") && (this.mode&USERMODE_OPER) && ( (this.flags&OLINE_CAN_LGNOTICE) || !this.local) ) return this.global(target,type_str,send_str); var send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_l... |
this.numeric(404, chan.nam + " :Cannot send to channel (+b: you're banned!)"); | this.numeric(404, chan.nam + " :Cannot send to channel " + "(+b: you're banned!)"); | function IRCClient_do_msg(target,type_str,send_str) { if ( (target[0] == "$") && (this.mode&USERMODE_OPER) && ( (this.flags&OLINE_CAN_LGNOTICE) || !this.local) ) return this.global(target,type_str,send_str); var send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_l... |
if ((target[0] == "$") && (this.mode&USERMODE_OPER) && (this.flags&OLINE_CAN_LGNOTICE)) | if ( (target[0] == "$") && (this.mode&USERMODE_OPER) && ( (this.flags&OLINE_CAN_LGNOTICE) || !this.local) ) | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER) && (this.flags&OLINE_CAN_LGNOTICE)) return this.global(target,type_str,send_str); var send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANMODE_OP; targ... |
if ((target[0] == "#") && (this.mode&USERMODE_OPER) && (this.flags&OLINE_CAN_LGNOTICE)) { | if ( (target[0] == "#") && (this.mode&USERMODE_OPER) && ( (this.flags&OLINE_CAN_LGNOTICE) || !this.local ) ) { | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER) && (this.flags&OLINE_CAN_LGNOTICE)) return this.global(target,type_str,send_str); var send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANMODE_OP; targ... |
if ((target[0] == "$") && (this.mode&USERMODE_OPER)) { var global_mask = target.slice(1); var global_str = type_str + " " + target + " :" + send_str; for(globClient in Clients) { var Client = Clients[globClient]; if ((Client.conntype == TYPE_USER) && match_irc_mask(Client.servername,global_mask) && Client.local) Client... | if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) { var global_mask = target.slice(1); var global_str = type_str + " " + target + " :" + send_str; for(globClient in Clients) { var Client = Clients[globClient]; if ((Client.conntype == TYPE_USER) && ma... |
this.numeric401(target); return 0; | if ((target[0] == "#") && (this.mode&USERMODE_OPER)) { return this.global(target,type_str,send_str); } else { this.numeric401(target); return 0; } | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) { var global_mask = target.slice(1); var global_str = type_str + " " + target + " :" + send_str; for(globClient in Clients) { var Client = Clients[globClient]; if ((Client.conntype == TYPE_USER) && ma... |
target_socket = searchbynick(target); | if (target.match("[@]")) { var msg_arg = target.split('@'); var real_target = msg_arg[0]; var target_server = searchbyserver(msg_arg[1]); if (!target_server) { this.numeric401(target); return 0; } target = msg_arg[0] + "@" + msg_arg[1]; } else { var real_target = target; } target_socket = searchbynick(real_target); | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) { var global_mask = target.slice(1); var global_str = type_str + " " + target + " :" + send_str; for(globClient in Clients) { var Client = Clients[globClient]; if ((Client.conntype == TYPE_USER) && ma... |
str = type_str +" " + target_socket.nick +" :"+ send_str; | if (!(target_server && (target_server.nick.toUpperCase() == target_socket.servername.toUpperCase()) ) ) { this.numeric401(target); return 0; } str = type_str + " " + target + " :" + send_str; | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) { var global_mask = target.slice(1); var global_str = type_str + " " + target + " :" + send_str; for(globClient in Clients) { var Client = Clients[globClient]; if ((Client.conntype == TYPE_USER) && ma... |
if (target_socket.away && (type_str == "PRIVMSG") ) | if (target_socket.away && (type_str == "PRIVMSG") && !this.server) | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) { var global_mask = target.slice(1); var global_str = type_str + " " + target + " :" + send_str; for(globClient in Clients) { var Client = Clients[globClient]; if ((Client.conntype == TYPE_USER) && ma... |
return 1; | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) { var global_mask = target.slice(1); var global_str = type_str + " " + target + " :" + send_str; for(globClient in Clients) { var Client = Clients[globClient]; if ((Client.conntype == TYPE_USER) && ma... | |
if (target.match("[@]+")) { | if (target.match("[@]")) { | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANLIST_OP; target = target.slice(1); } else if (target[0]=... |
send_to_list = CHANLIST_OP; | send_to_list = CHANMODE_OP; | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANLIST_OP; target = target.slice(1); } else if (target[0]=... |
send_to_list = CHANLIST_VOICE; | send_to_list = CHANMODE_VOICE; | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANLIST_OP; target = target.slice(1); } else if (target[0]=... |
!chan.ismode(this.id,CHANLIST_VOICE) && !chan.ismode(this.id,CHANLIST_OP) ) { | !chan.ismode(this.id,CHANMODE_VOICE) && !chan.ismode(this.id,CHANMODE_OP) ) { | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANLIST_OP; target = target.slice(1); } else if (target[0]=... |
if (send_to_list == CHANLIST_OP) | if (send_to_list == CHANMODE_OP) | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANLIST_OP; target = target.slice(1); } else if (target[0]=... |
else if (send_to_list == CHANLIST_VOICE) | else if (send_to_list == CHANMODE_VOICE) | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANLIST_OP; target = target.slice(1); } else if (target[0]=... |
target_socket.local) | !this.server && target_socket.local) | function IRCClient_do_msg(target,type_str,send_str) { if ( (target[0] == "$") && (this.mode&USERMODE_OPER) && ( (this.flags&OLINE_CAN_LGNOTICE) || !this.local) ) return this.global(target,type_str,send_str); var send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_l... |
if (target.match("[@]")) { | if (target.match("[@]+")) { | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANLIST_OP; target = target.slice(1); } else if (target[0]=... |
if (!(target_server && (target_server.nick.toUpperCase() == target_socket.servername.toUpperCase()) ) ) { | if (target_server && (target_server.parent != target_socket.parent)) { | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANLIST_OP; target = target.slice(1); } else if (target[0]=... |
if (target_server && (target_server.id == target_socket.parent) ) target = real_target; | function IRCClient_do_msg(target,type_str,send_str) { if ((target[0] == "$") && (this.mode&USERMODE_OPER)) return this.global(target,type_str,send_str); send_to_list = -1; if (target[0] == "@" && ( (target[1] == "#") || target[1] == "&") ) { send_to_list = CHANLIST_OP; target = target.slice(1); } else if (target[0]=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.