rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 13 136k | meta stringlengths 132 347 |
|---|---|---|---|
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... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/732e4deb8f1f9cc67fc46af39f20ce3fedd83438/ircd.js/clean/ircd.js |
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]=... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/17d1ea31769b5a1523d2fea5c1c1b83233859d14/ircd.js/clean/ircd.js |
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]=... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/17d1ea31769b5a1523d2fea5c1c1b83233859d14/ircd.js/clean/ircd.js |
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]=... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/17d1ea31769b5a1523d2fea5c1c1b83233859d14/ircd.js/clean/ircd.js | |
function IRCClient_do_msg(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[1] == "#")|| target[1] == "&")) { send_to_list = CHANLIST_VOICE; target = target.... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js | ||
var chan = chan_name.toUpperCase(); | chan = chan_name.toUpperCase(); | function IRCClient_do_part(chan_name) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } var chan = chan_name.toUpperCase(); if (Channels[chan] != undefined) { if (this.onchannel(chan)) { var str = "PART " + Channels[chan].nam; if (this.parent) this.... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/932a434bc900126d724150bfed8b94b9a8e530e1/ircd.js/buggy/ircd.js |
var str = "PART " + Channels[chan].nam; | str = "PART " + Channels[chan].nam; | function IRCClient_do_part(chan_name) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } var chan = chan_name.toUpperCase(); if (Channels[chan] != undefined) { if (this.onchannel(chan)) { var str = "PART " + Channels[chan].nam; if (this.parent) this.... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/932a434bc900126d724150bfed8b94b9a8e530e1/ircd.js/buggy/ircd.js |
chan = chan_name.toUpperCase(); | var chan = chan_name.toUpperCase(); | function IRCClient_do_part(chan_name) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } chan = chan_name.toUpperCase(); if (Channels[chan] != undefined) { if (this.onchannel(chan)) { str = "PART " + Channels[chan].nam; if (this.parent) this.bcast_to... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/916eecaff32dd50d9b82305f9be06517866554ea/ircd.js/clean/ircd.js |
str = "PART " + Channels[chan].nam; | var str = "PART " + Channels[chan].nam; | function IRCClient_do_part(chan_name) { if((chan_name[0] != "#") && (chan_name[0] != "&") && !this.parent) { this.numeric403(chan_name); return 0; } chan = chan_name.toUpperCase(); if (Channels[chan] != undefined) { if (this.onchannel(chan)) { str = "PART " + Channels[chan].nam; if (this.parent) this.bcast_to... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/916eecaff32dd50d9b82305f9be06517866554ea/ircd.js/clean/ircd.js |
this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_port + " " + CLines[cline].ircclass); | this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_port + " " + CLines[cline].ircclass); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(214,"N " + NLines[cline].host + " * " + NLines[cline].servername + " " + NLines[cline].flags + " " + NLines[cline].ircclass); | this.numeric(214,"N " + NLines[cline].host + " * " + NLines[cline].servername + " " + NLines[cline].flags + " " + NLines[cline].ircclass); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(244,"H " + HLines[hl].allowedmask + " * " + HLines[hl].servername); | this.numeric(244,"H " + HLines[hl].allowedmask + " * " + HLines[hl].servername); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(215,"I " + ILines[iline].ipmask + " * " + ILines[iline].hostmask + " " + my_port + " " + ILines[iline].ircclass); | this.numeric(215,"I " + ILines[iline].ipmask + " * " + ILines[iline].hostmask + " " + my_port + " " + ILines[iline].ircclass); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
if(KLines[kline].hostmask) this.numeric(216, KLines[kline].type + " " + KLines[kline].hostmask + " * * :" + KLines[kline].reason); | if (KLines[kline].hostmask) { this.numeric(216, KLines[kline].type + " " + KLines[kline].hostmask + " * * :" + KLines[kline].reason); } | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
case "L": | case "L": /* FIXME */ | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
case "l": | case "l": /* FIXME */ | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(212,"<command> <count>"); | for (c in Profile) { var sm = Profile[c]; this.numeric(212, c + " " + sm.ticks + " " + sm.executions); } | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(243, "O " + OLines[oline].hostmask + " * " + OLines[oline].nick); | this.numeric(243, "O " + OLines[oline].hostmask + " * " + OLines[oline].nick); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(218,"Y " + thisYL + " " + yl.pingfreq + " " + yl.connfreq + " " + yl.maxlinks + " " + yl.sendq); | this.numeric(218,"Y " + thisYL + " " + yl.pingfreq + " " + yl.connfreq + " " + yl.maxlinks + " " + yl.sendq); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(241,"L <hostmask> * <servername> <maxdepth>"); break; | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/648f341bbfcf39d714c3a0746ccef5a350ef8d6a/ircd.js/clean/ircd.js | |
var updays=format("%lu",this_uptime / 86400); if (updays < 1) updays=0; var uphours=format("%lu",(this_uptime-(updays*86400))/3600); if (uphours < 1) uphours=0; var upmins=format("%02lu",((this_uptime-(updays*86400))-(uphours*3600))/60); if (upmins < 1) upmins=0; var upsec=format("%02lu",(((this_uptime-(updays*86400))-... | var updays=Math.floor(this_uptime / 86400); if (updays) this_uptime %= 86400; var uphours=Math.floor(this_uptime/(60*60)); var upmins=(Math.floor(this_uptime/60))%60; var upsec=this_uptime%60; var str = format("Server Up %u days %u:%02u:%02u", updays,uphours,upmins,upsec); this.numeric(242,":" + str); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a697289b2285a18656115e68c62bcc033aa5b402/ircd.js/clean/ircd.js |
var upsecs=time() - server_uptime; var updays=upsecs / 86400; | var this_uptime=time() - server_uptime; var updays=format("%lu",this_uptime / 86400); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/8873ee606eff83dfffb34fbfda973ddb55c1e1ba/ircd.js/clean/ircd.js |
var uphours=(upsecs-(updays*86400))/3600; | var uphours=format("%lu",(this_uptime-(updays*86400))/3600); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/8873ee606eff83dfffb34fbfda973ddb55c1e1ba/ircd.js/clean/ircd.js |
var upmins=((upsecs-(updays*86400))-(uphours*3600))/60; | var upmins=format("%02lu",((this_uptime-(updays*86400))-(uphours*3600))/60); | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/8873ee606eff83dfffb34fbfda973ddb55c1e1ba/ircd.js/clean/ircd.js |
var upsec=(((upsecs-(updays*86400))-(uphours*3600))-(upmins*60)); | var upsec=format("%02lu",(((this_uptime-(updays*86400))-(uphours*3600))-(upmins*60))); if (upmins == "0") upmins = "00"; | function IRCClient_do_stats(statschar) { switch(statschar[0]) { case "C": case "c": var cline_port; for (cline in CLines) { if(CLines[cline].port) cline_port = CLines[cline].port; else cline_port = "*"; this.numeric(213,"C " + CLines[cline].host + " * " + CLines[cline].servername + " " + cline_po... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/8873ee606eff83dfffb34fbfda973ddb55c1e1ba/ircd.js/clean/ircd.js |
this.numeric200(target,Servers[nick.parent].nick); | this.numeric200(target,Servers[nick.parent.toLowerCase()].nick); | function IRCClient_do_trace(target) { var server; var nick; if (target.match(/[.]/)) { // probably a server server = searchbyserver(target); if (server == -1) { // we hunted ourselves // FIXME: What do these numbers mean? O_o? this.numeric206("30","1","0",servername); this.trace_all_opers(); } else if (server)... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/9b31fc080a4a6c10c64fce10214bfae574877b10/ircd.js/clean/ircd.js |
var server; var nick; | var server = searchbyserver(target); | function IRCClient_do_trace(target) { var server; var nick; if (target.match(/[.]/)) { // probably a server server = searchbyserver(target); if (server == -1) { // we hunted ourselves // FIXME: What do these numbers mean? O_o? this.numeric206("30","1","0",servername); this.trace_all_opers(); } else if (server)... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/385152494ebecad807543f9d727a31ae763537cc/ircd.js/buggy/ircd.js |
if (target.match(/[.]/)) { server = searchbyserver(target); if (server == -1) { this.numeric206("30","1","0",servername); this.trace_all_opers(); } else if (server) { server.rawout(":" + this.nick + " TRACE " + target); this.numeric200(target,server.nick); return 0; } else { | if (server == -1) { this.numeric206("30","1","0",servername); this.trace_all_opers(); } else if (server) { server.rawout(":" + this.nick + " TRACE " + target); this.numeric200(target,server.nick); return 0; } else { var nick = Users[target.toUpperCase()]; if (!nick) { | function IRCClient_do_trace(target) { var server; var nick; if (target.match(/[.]/)) { // probably a server server = searchbyserver(target); if (server == -1) { // we hunted ourselves // FIXME: What do these numbers mean? O_o? this.numeric206("30","1","0",servername); this.trace_all_opers(); } else if (server)... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/385152494ebecad807543f9d727a31ae763537cc/ircd.js/buggy/ircd.js |
} } else { nick = Users[target.toUpperCase()]; if (nick.local) { | } else if (nick.local) { | function IRCClient_do_trace(target) { var server; var nick; if (target.match(/[.]/)) { // probably a server server = searchbyserver(target); if (server == -1) { // we hunted ourselves // FIXME: What do these numbers mean? O_o? this.numeric206("30","1","0",servername); this.trace_all_opers(); } else if (server)... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/385152494ebecad807543f9d727a31ae763537cc/ircd.js/buggy/ircd.js |
} else if (nick) { | } else { | function IRCClient_do_trace(target) { var server; var nick; if (target.match(/[.]/)) { // probably a server server = searchbyserver(target); if (server == -1) { // we hunted ourselves // FIXME: What do these numbers mean? O_o? this.numeric206("30","1","0",servername); this.trace_all_opers(); } else if (server)... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/385152494ebecad807543f9d727a31ae763537cc/ircd.js/buggy/ircd.js |
return 0; } else { this.numeric402(target); return 0; | function IRCClient_do_trace(target) { var server; var nick; if (target.match(/[.]/)) { // probably a server server = searchbyserver(target); if (server == -1) { // we hunted ourselves // FIXME: What do these numbers mean? O_o? this.numeric206("30","1","0",servername); this.trace_all_opers(); } else if (server)... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/385152494ebecad807543f9d727a31ae763537cc/ircd.js/buggy/ircd.js | |
this.numeric(393,format(':%-25s %-9s %-30s',u.alias,'Node'+node,u.host_name)); | this.numeric(393,format(':%-25s %-9s %-30s',u.alias,'Node'+node, u.host_name)); | function IRCClient_do_users() { var usersshown; var u; this.numeric(392,':UserID Terminal Host'); usersshown=0; for(node in system.node_list) { if(system.node_list[node].status == NODE_INUSE) { u=new User(system.node_list[node].useron); this.numeric(393,format(':%-25s %-9s %-30s',u.alias,'Node'... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(334,":/WHO [+|-][acghimnosuCM] <args> <mask>"); | this.numeric(334,":/WHO [+|-][acghilmnostuCIM] <args> <mask>"); | function IRCClient_do_who_usage() { this.numeric(334,":/WHO [+|-][acghimnosuCM] <args> <mask>"); this.numeric(334,":The modes as above work exactly like channel modes."); this.numeric(334,":<mask> may be '*' or in nick!user@host notation."); this.numeric(334,":i.e. '/WHO +a *.ca' would match all away users from *.ca");... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/eb0bdd5a634f6c8dd2a311bfb842586e6cea8219/ircd.js/buggy/ircd.js |
this.numeric(334,":/WHO [+|-][acghimnosuCM] <args>"); | this.numeric(334,":/WHO [+|-][acghimnosuCM] <args> <mask>"); | function IRCClient_do_who_usage() { this.numeric(334,":/WHO [+|-][acghimnosuCM] <args>"); this.numeric(334,":The modes as above work exactly like channel modes."); this.numeric(334,":a : User is away."); this.numeric(334,":c <chan>: User is on <channel>, no wildcards."); this.numeric(334,":g <rnam>: Check against... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/12955b5af5c506c8f097913f44a07b38f976e85c/ircd.js/buggy/ircd.js |
this.numeric(334,":<mask> may be '*' or in nick!user@host notation."); this.numeric(334,":i.e. '/WHO +a *.ca' would match all away users from *.ca"); this.numeric(334,":No args/mask matches to everything by default."); | function IRCClient_do_who_usage() { this.numeric(334,":/WHO [+|-][acghimnosuCM] <args>"); this.numeric(334,":The modes as above work exactly like channel modes."); this.numeric(334,":a : User is away."); this.numeric(334,":c <chan>: User is on <channel>, no wildcards."); this.numeric(334,":g <rnam>: Check against... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/12955b5af5c506c8f097913f44a07b38f976e85c/ircd.js/buggy/ircd.js | |
this.numeric(311, wi.nick + " " + wi.uprefix + " " + wi.hostname + " * :" + wi.realname); | this.numeric(311, wi.nick + " " + wi.uprefix + " " + wi.hostname + " * :" + wi.realname); | function IRCClient_do_whois(wi) { if (!wi) return 0; this.numeric(311, wi.nick + " " + wi.uprefix + " " + wi.hostname + " * :" + wi.realname); var userchans=""; for (i in wi.channels) { var chan = wi.channels[i]; if (!(chan.mode&CHANMODE_SECRET||chan.mode&CHANMODE_PRIVATE) || this.channels[chan.nam.toUpperCase... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(312, wi.nick + " " + wi_server.nick + " :" + wi_server.info); | this.numeric(312, wi.nick + " " + wi_server.nick + " :" + wi_server.info); | function IRCClient_do_whois(wi) { if (!wi) return 0; this.numeric(311, wi.nick + " " + wi.uprefix + " " + wi.hostname + " * :" + wi.realname); var userchans=""; for (i in wi.channels) { var chan = wi.channels[i]; if (!(chan.mode&CHANMODE_SECRET||chan.mode&CHANMODE_PRIVATE) || this.channels[chan.nam.toUpperCase... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(317, wi.nick + " " + (time() - wi.talkidle) + " " + wi.connecttime + " :seconds idle, signon time"); | this.numeric(317, wi.nick + " " + (time() - wi.talkidle) + " " + wi.connecttime + " :seconds idle, signon time"); | function IRCClient_do_whois(wi) { if (!wi) return 0; this.numeric(311, wi.nick + " " + wi.uprefix + " " + wi.hostname + " * :" + wi.realname); var userchans=""; for (i in wi.channels) { var chan = wi.channels[i]; if (!(chan.mode&CHANMODE_SECRET||chan.mode&CHANMODE_PRIVATE) || this.channels[chan.nam.toUpperCase... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
if (Channels[wi.channels[i]].ismode(wi.id,CHANLIST_OP)) | if (Channels[wi.channels[i]].ismode(wi.id,CHANMODE_OP)) | function IRCClient_do_whois(wi) { if (!wi) return 0; this.numeric(311, wi.nick + " " + wi.uprefix + " " + wi.hostname + " * :" + wi.realname); var userchans=""; for (i in wi.channels) { if(wi.channels[i] && (!(Channels[wi.channels[i]].mode&CHANMODE_SECRET || Channels[wi.channels[i]].mode&CHANMODE_PRIVATE) ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/f2f97bbbb51c190c74d5d75a9f8d6aac710d97ad/ircd.js/buggy/ircd.js |
else if (Channels[wi.channels[i]].ismode(wi.id,CHANLIST_VOICE)) | else if (Channels[wi.channels[i]].ismode(wi.id,CHANMODE_VOICE)) | function IRCClient_do_whois(wi) { if (!wi) return 0; this.numeric(311, wi.nick + " " + wi.uprefix + " " + wi.hostname + " * :" + wi.realname); var userchans=""; for (i in wi.channels) { if(wi.channels[i] && (!(Channels[wi.channels[i]].mode&CHANMODE_SECRET || Channels[wi.channels[i]].mode&CHANMODE_PRIVATE) ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/f2f97bbbb51c190c74d5d75a9f8d6aac710d97ad/ircd.js/buggy/ircd.js |
this.bcast_to_servers_raw(":" + servername + " SERVER " + this.nick + " 2 :" + this.info); | this.bcast_to_servers_raw(":" + servername + " SERVER " + this.nick + " 2 :" + this.info); | function IRCClient_finalize_server_connect(states,sendps) { hcc_counter++; gnotice("Link with " + this.nick + "[unknown@" + this.hostname + "] established, states: " + states); if (server.client_update != undefined) server.client_update(this.socket, this.nick, this.hostname); if (sendps) { for (cl in CLines) { if(... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
function IRCClient_finalize_server_connect(states) { | function IRCClient_finalize_server_connect(states,sendps) { | function IRCClient_finalize_server_connect(states) { hcc_counter++; gnotice("Link with " + this.nick + "[unknown@" + this.hostname + "] established, states: " + states); if (server.client_update != undefined) server.client_update(this.socket, this.nick, this.hostname); if (!this.sentps) { for (cl in CLines) { if(I... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/3a24aaeab22e426a0fcb1f18b8c71f6f5f65bba1/ircd.js/clean/ircd.js |
if (!this.sentps) { | if (sendps) { | function IRCClient_finalize_server_connect(states) { hcc_counter++; gnotice("Link with " + this.nick + "[unknown@" + this.hostname + "] established, states: " + states); if (server.client_update != undefined) server.client_update(this.socket, this.nick, this.hostname); if (!this.sentps) { for (cl in CLines) { if(I... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/3a24aaeab22e426a0fcb1f18b8c71f6f5f65bba1/ircd.js/clean/ircd.js |
for (cl in CLines) { if(IRC_match(this.nick,CLines[cl].servername)) { this.rawout("PASS " + CLines[cl].password + " :" + states); | for (cl in CLines) { if(IRC_match(this.nick,CLines[cl].servername)) { this.rawout("PASS " + CLines[cl].password + " :" + states); | function IRCClient_finalize_server_connect(states) { hcc_counter++; umode_notice(USERMODE_ROUTING,"Routing","Link with " + this.nick + "[unknown@" + this.hostname + "] established, states: " + states); if (server.client_update != undefined) server.client_update(this.socket, this.nick, this.hostname); if (!this.sentp... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/5a506daace487e8748162375f96180d0add4326b/ircd.js/clean/ircd.js |
this.bcast_to_servers_raw(":" + servername + " SERVER " + this.nick + " 2 :" + this.realname); | this.bcast_to_servers_raw(":" + servername + " SERVER " + this.nick + " 2 :" + this.info); | function IRCClient_finalize_server_connect(states) { hcc_counter++; umode_notice(USERMODE_ROUTING,"Routing","Link with " + this.nick + "[unknown@" + this.hostname + "] established, states: " + states); if (server.client_update != undefined) server.client_update(this.socket, this.nick, this.hostname); if (!this.sentp... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/5a506daace487e8748162375f96180d0add4326b/ircd.js/clean/ircd.js |
oper_notice("Routing","Link with " + this.nick + "[unknown@" + this.hostname + "] established, states: " + states); | umode_notice(USERMODE_ROUTING,"Routing","Link with " + this.nick + "[unknown@" + this.hostname + "] established, states: " + states); | function IRCClient_finalize_server_connect(states) { hcc_counter++; oper_notice("Routing","Link with " + this.nick + "[unknown@" + this.hostname + "] established, states: " + states); if (server.client_update != undefined) server.client_update(this.socket, this.nick, this.hostname); if (!this.sentps) { for (cl in CLin... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/4288a1a511dbe07b6c8a7901a012ddfdeb204568/ircd.js/buggy/ircd.js |
function IRCClient_get_usermode() { var tmp_mode = "+"; if (this.mode&USERMODE_INVISIBLE) tmp_mode += "i"; if (this.mode&USERMODE_OPER) tmp_mode += "o"; return tmp_mode;} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/932a434bc900126d724150bfed8b94b9a8e530e1/ircd.js/buggy/ircd.js | ||
tmp_mode = "+"; | var tmp_mode = "+"; | function IRCClient_get_usermode() { tmp_mode = "+"; if (this.mode&USERMODE_INVISIBLE) tmp_mode += "i"; if (this.mode&USERMODE_OPER) tmp_mode += "o"; return tmp_mode;} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/916eecaff32dd50d9b82305f9be06517866554ea/ircd.js/clean/ircd.js |
function IRCClient_get_usermode() { | function IRCClient_get_usermode(bcast_modes) { | function IRCClient_get_usermode() { var tmp_mode = "+"; if (this.mode&USERMODE_INVISIBLE) tmp_mode += "i"; if (this.mode&USERMODE_OPER) tmp_mode += "o"; return tmp_mode;} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/f2f97bbbb51c190c74d5d75a9f8d6aac710d97ad/ircd.js/buggy/ircd.js |
if (this.mode&USERMODE_INVISIBLE) tmp_mode += "i"; if (this.mode&USERMODE_OPER) tmp_mode += "o"; | for (ch in USERMODE_CHAR) { if ((!bcast_modes || (bcast_modes && USERMODE_BCAST[ch])) && this.mode&USERMODE_CHAR[ch]) tmp_mode += ch; } | function IRCClient_get_usermode() { var tmp_mode = "+"; if (this.mode&USERMODE_INVISIBLE) tmp_mode += "i"; if (this.mode&USERMODE_OPER) tmp_mode += "o"; return tmp_mode;} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/f2f97bbbb51c190c74d5d75a9f8d6aac710d97ad/ircd.js/buggy/ircd.js |
if(this.parent) | if(this.local) | function IRCClient_global(target,type_str,send_str) { if (!target.match("[.]")) { this.numeric(413,target + " :No top-level domain specified."); return 0; } var domain_part = target.split('.'); if (domain_part[domain_part.length - 1].match("[?*]")) { this.numeric(414,target + " :Wildcard found in top-level domain.")... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/414498bc4eb815f9da50ec3203c12a3b087998b4/ircd.js/buggy/ircd.js |
if(this.local) | if(this.local && this.parent) /* Incoming from a local server */ | function IRCClient_global(target,type_str,send_str) { if (!target.match("[.]")) { this.numeric(413,target + " :No top-level domain specified."); return 0; } var domain_part = target.split('.'); if (domain_part[domain_part.length - 1].match("[?*]")) { this.numeric(414,target + " :Wildcard found in top-level domain.")... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/3696acf19dd48bcf0d3bbd1765591087d9a80235/ircd.js/buggy/ircd.js |
else if (this.flags&OLINE_CAN_GGNOTICE) | else if (this.flags&OLINE_CAN_GGNOTICE) /* From a local oper */ | function IRCClient_global(target,type_str,send_str) { if (!target.match("[.]")) { this.numeric(413,target + " :No top-level domain specified."); return 0; } var domain_part = target.split('.'); if (domain_part[domain_part.length - 1].match("[?*]")) { this.numeric(414,target + " :Wildcard found in top-level domain.")... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/3696acf19dd48bcf0d3bbd1765591087d9a80235/ircd.js/buggy/ircd.js |
Servers[this.parent].bcast_to_servers_raw(global_str); | Servers[this.parent.toLowerCase()].bcast_to_servers_raw(global_str); | function IRCClient_global(target,type_str,send_str) { if (!target.match("[.]")) { this.numeric(413,target + " :No top-level domain specified."); return 0; } var domain_part = target.split('.'); if (domain_part[domain_part.length - 1].match("[?*]")) { this.numeric(414,target + " :Wildcard found in top-level domain.")... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/9b31fc080a4a6c10c64fce10214bfae574877b10/ircd.js/clean/ircd.js |
Servers[this.parent.toLowerCase()].bcast_to_servers_raw(":" + this.nick + " GLOBOPS :" + str); | Servers[this.parent.toLowerCase()].bcast_to_servers_raw(":" + this.nick + " GLOBOPS :" + str); | function IRCClient_globops(str) { var globops_bits = 0; globops_bits |= USERMODE_OPER; globops_bits |= USERMODE_GLOBOPS; umode_notice(globops_bits,"Global","from " + this.nick +": " + str); if (this.parent) Servers[this.parent.toLowerCase()].bcast_to_servers_raw(":" + this.nick + " GLOBOPS :" + str); else server_bc... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
Servers[this.parent].bcast_to_servers_raw(":" + this.nick + | Servers[this.parent.toLowerCase()].bcast_to_servers_raw(":" + this.nick + | function IRCClient_globops(str) { var globops_bits = 0; globops_bits |= USERMODE_OPER; globops_bits |= USERMODE_GLOBOPS; umode_notice(globops_bits,"Global","from " + this.nick +": " + str); if (this.parent) Servers[this.parent].bcast_to_servers_raw(":" + this.nick + " GLOBOPS :" + str); else server_bcast_to_servers... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/9b31fc080a4a6c10c64fce10214bfae574877b10/ircd.js/clean/ircd.js |
this.numeric(251, ":There are " + num_noninvis_users() + " users and " + num_invis_users() + " invisible on " + true_array_len(Servers) + " servers."); | this.numeric(251, ":There are " + num_noninvis_users() + " users and " + num_invis_users() + " invisible on " + true_array_len(Servers) + " servers."); | function IRCClient_lusers() { this.numeric(251, ":There are " + num_noninvis_users() + " users and " + num_invis_users() + " invisible on " + true_array_len(Servers) + " servers."); this.numeric(252, num_opers() + " :IRC operators online."); var unknown_connections = true_array_len(Unregistered); if (unknown_connection... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(255, ":I have " + true_array_len(Local_Users) + " clients and " + true_array_len(Local_Servers) + " servers."); this.numeric(250, ":Highest connection count: " + hcc_total + " (" + hcc_users + " clients.)"); this.server_notice(hcc_counter + " clients have connected since " + strftime("%a %b %e %H:%M:%S %Y ... | this.numeric(255, ":I have " + true_array_len(Local_Users) + " clients and " + true_array_len(Local_Servers) + " servers."); this.numeric(250, ":Highest connection count: " + hcc_total + " (" + hcc_users + " clients.)"); this.server_notice(hcc_counter + " clients have connected since " + strftime("%a %b %e %H:%M:%S %Y ... | function IRCClient_lusers() { this.numeric(251, ":There are " + num_noninvis_users() + " users and " + num_invis_users() + " invisible on " + true_array_len(Servers) + " servers."); this.numeric(252, num_opers() + " :IRC operators online."); var unknown_connections = true_array_len(Unregistered); if (unknown_connection... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric("253", "0 :unknown connection(s)."); | function IRCClient_lusers() { this.numeric("251", ":There are " + count_nicks() + " users and " + count_nicks(USERMODE_INVISIBLE) + " invisible on " + count_servers(true) + " servers."); this.numeric("252", count_nicks(USERMODE_OPER) + " :IRC operators online."); this.numeric("254", count_channels() + " :channels forme... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/648f341bbfcf39d714c3a0746ccef5a350ef8d6a/ircd.js/clean/ircd.js | |
this.numeric("251", ":There are " + true_array_len(Users) + " users and 0 invisible on " + true_array_len(Servers) + " servers."); this.numeric("252", "0 :IRC operators online."); this.numeric("253", "0 :unknown connection(s)."); this.numeric("254", true_array_len(Channels) + " :channels formed."); this.numeric("255"... | this.numeric(251, ":There are " + num_noninvis_users() + " users and " + num_invis_users() + " invisible on " + true_array_len(Servers) + " servers."); this.numeric(252, num_opers() + " :IRC operators online."); var unknown_connections = true_array_len(Unregistered); if (unknown_connections) this.numeric(253, unknown_c... | function IRCClient_lusers() { // FIXME: calc invis clients this.numeric("251", ":There are " + true_array_len(Users) + " users and 0 invisible on " + true_array_len(Servers) + " servers."); // FIXME: calc total opers this.numeric("252", "0 :IRC operators online."); this.numeric("253", "0 :unknown connection(s)."); this... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/b261c9ecf265d40e141366a90fb1cf49a2b3ddc6/ircd.js/clean/ircd.js |
if ( wildmatch(this.nick,mask.split("!")[0]) && wildmatch(this.uprefix,mask.slice(mask.indexOf("!")+1).split("@")[0]) && wildmatch(this.hostname,mask.slice(mask.indexOf("@")+1)) ) | if ( wildmatch(this.nick,mask.split("!")[0]) && wildmatch(this.uprefix, mask.slice(mask.indexOf("!")+1).split("@")[0]) && wildmatch(this.hostname,mask.slice(mask.indexOf("@")+1)) ) | function IRCClient_match_who_mask(mask) { if ((mask[0] == "#") || (mask[0] == "&")) { // channel if (Channels[mask.toUpperCase()]) return 1; else return 0; // channel doesn't exist. } else if (mask.match(/[!]/)) { // nick!user@host if ( wildmatch(this.nick,mask.split("!")[0]) && wildmatch(this.uprefix,mask... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
if (motd_file.exists==false) | if (motd_file.exists==false) { | function IRCClient_motd() { var motd_file = new File(system.text_dir + "ircmotd.txt"); if (motd_file.exists==false) this.numeric(422, ":MOTD file missing: " + motd_file.name); else if (motd_file.open("r")==false) this.numeric(424, ":MOTD error " + errno + " opening: " + motd_file.name); else { this.numeric(375, ":- ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
else if (motd_file.open("r")==false) this.numeric(424, ":MOTD error " + errno + " opening: " + motd_file.name); else { | } else if (motd_file.open("r")==false) { this.numeric(424, ":MOTD error " + errno + " opening: " + motd_file.name); } else { | function IRCClient_motd() { var motd_file = new File(system.text_dir + "ircmotd.txt"); if (motd_file.exists==false) this.numeric(422, ":MOTD file missing: " + motd_file.name); else if (motd_file.open("r")==false) this.numeric(424, ":MOTD error " + errno + " opening: " + motd_file.name); else { this.numeric(375, ":- ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
motd_file = new File(system.text_dir + "/ircmotd.txt"); | motd_file = new File(system.text_dir + "ircmotd.txt"); | function IRCClient_motd() { motd_file = new File(system.text_dir + "/ircmotd.txt"); if (motd_file.open("r")) { this.numeric(375, ":- " + servername + " Message of the Day -"); this.numeric(372, ":- " + strftime("%m/%d/%Y %H:%M",motd_file.date)); while (!motd_file.eof) { motd_line = motd_file.readln(); if (motd_l... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a8d6cb0d2c42aa8c23da559752d1d706d38ce217/ircd.js/buggy/ircd.js |
umode_notice(USERMODE_SPY,"Spy","MOTD requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); | function IRCClient_motd() { umode_notice(USERMODE_SPY,"Spy","MOTD requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); var motd_file = new File(system.text_dir + "ircmotd.txt"); if (motd_file.exists==false) this.numeric(422, ":MOTD file missing: " + motd_file.name)... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/3e37819d4b7dbdc656af3e7f829a8e9ecb968d42/ircd.js/clean/ircd.js | |
this.numeric(422, ":MOTD error " + errno + " opening: " + motd_file.name); | this.numeric(424, ":MOTD error " + errno + " opening: " + motd_file.name); | function IRCClient_motd() { motd_file = new File(system.text_dir + "ircmotd.txt"); if (motd_file.exists==false) this.numeric(422, ":MOTD file missing: " + motd_file.name); else if (motd_file.open("r")==false) this.numeric(422, ":MOTD error " + errno + " opening: " + motd_file.name); else { this.numeric(375, ":- " + ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/17d1ea31769b5a1523d2fea5c1c1b83233859d14/ircd.js/clean/ircd.js |
motd_file = new File(system.text_dir + "ircmotd.txt"); | umode_notice(USERMODE_SPY,"Spy","MOTD requested by " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + this.servername + "]"); var motd_file = new File(system.text_dir + "ircmotd.txt"); | function IRCClient_motd() { motd_file = new File(system.text_dir + "ircmotd.txt"); if (motd_file.exists==false) this.numeric(422, ":MOTD file missing: " + motd_file.name); else if (motd_file.open("r")==false) this.numeric(424, ":MOTD error " + errno + " opening: " + motd_file.name); else { this.numeric(375, ":- " + ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/4288a1a511dbe07b6c8a7901a012ddfdeb204568/ircd.js/buggy/ircd.js |
if (Channels[chan].ismode(Channel_user.id,CHANLIST_OP)) | if (Channels[chan].ismode(Channel_user.id,CHANMODE_OP)) | function IRCClient_names(chan) { var Channel_user; var numnicks=0; var tmp=""; for(thisChannel_user in Channels[chan].users) { Channel_user=Clients[Channels[chan].users[thisChannel_user]]; if (Channel_user.nick && (Channel_user.conntype != TYPE_SERVER) && ( !(Channel_user.mode&USERMODE_INVISIBLE) || (t... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/f2f97bbbb51c190c74d5d75a9f8d6aac710d97ad/ircd.js/buggy/ircd.js |
else if (Channels[chan].ismode(Channel_user.id,CHANLIST_VOICE)) | else if (Channels[chan].ismode(Channel_user.id,CHANMODE_VOICE)) | function IRCClient_names(chan) { var Channel_user; var numnicks=0; var tmp=""; for(thisChannel_user in Channels[chan].users) { Channel_user=Clients[Channels[chan].users[thisChannel_user]]; if (Channel_user.nick && (Channel_user.conntype != TYPE_SERVER) && ( !(Channel_user.mode&USERMODE_INVISIBLE) || (t... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/f2f97bbbb51c190c74d5d75a9f8d6aac710d97ad/ircd.js/buggy/ircd.js |
numnicks=0; tmp=""; | var Channel_user; var numnicks=0; var tmp=""; | function IRCClient_names(chan) { numnicks=0; tmp=""; for(thisChannel_user in Channels[chan].users) { Channel_user=Clients[Channels[chan].users[thisChannel_user]]; if (Channel_user.nick && (Channel_user.conntype != TYPE_SERVER) && ( !(Channel_user.mode&USERMODE_INVISIBLE) || (this.onchannel(chan)) ) ) {... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/8873ee606eff83dfffb34fbfda973ddb55c1e1ba/ircd.js/clean/ircd.js |
if (Users[sqclient].servername == this.nick) | if (Users[sqclient] && (Users[sqclient].servername == this.nick) ) | function IRCClient_netsplit(ns_reason) { if (!ns_reason) ns_reason = "net.split.net.split net.split.net.split"; for (sqclient in Users) { if (Users[sqclient].servername == this.nick) Users[sqclient].quit(ns_reason,true,true); }} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/906f77be442b63d7184d7076d5f4ce67c3aae953/ircd.js/buggy/ircd.js |
for (sqserver in Servers) { if (Servers[sqserver] && (Servers[sqserver].linkparent == this.nick) ) Servers[sqserver].quit(ns_reason,true,true); } | function IRCClient_netsplit(ns_reason) { if (!ns_reason) ns_reason = "net.split.net.split net.split.net.split"; for (sqclient in Users) { if (Users[sqclient].servername == this.nick) Users[sqclient].quit(ns_reason,true,true); }} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/906f77be442b63d7184d7076d5f4ce67c3aae953/ircd.js/buggy/ircd.js | |
Clients[sqclient].quit(ns_reason,false); | Clients[sqclient].quit(ns_reason,true,true); | function IRCClient_netsplit(ns_reason) { if (!ns_reason) ns_reason = "net.split.net.split net.split.net.split"; for (sqclient in Clients) { if (Clients[sqclient] && (Clients[sqclient] != null) && (Clients[sqclient] != undefined)) { if ((Clients[sqclient].servername == this.nick) || (Clients[sqclient].lin... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/3a0a82db2f096ce1ac1bb5a9c7319a6849b0e22a/ircd.js/buggy/ircd.js |
uchan_counter=0; | var uchan_counter=0; | function IRCClient_num_channels_on() { uchan_counter=0; for(tmp_uchan in this.channels) { if (this.channels[tmp_uchan]) uchan_counter++; } return uchan_counter;} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/8873ee606eff83dfffb34fbfda973ddb55c1e1ba/ircd.js/clean/ircd.js |
this.numeric(206, "Serv " + ircclass + " " + sint + "S " + cint + "C *!*@" + server); | this.numeric(206, "Serv " + ircclass + " " + sint + "S " + cint + "C *!*@" + server); | function IRCClient_numeric206(ircclass,sint,cint,server) { this.numeric(206, "Serv " + ircclass + " " + sint + "S " + cint + "C *!*@" + server);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(322, channel_name + " " + true_array_len(chan.users) + " :" + disp_topic); | this.numeric(322, channel_name + " " + true_array_len(chan.users) + " :" + disp_topic); | function IRCClient_numeric322(chan,show_modes) { var channel_name; var disp_topic = ""; var is_onchan = this.channels[chan.nam.toUpperCase()]; if (show_modes) { var chanm = chan.chanmode() disp_topic += "[" + chanm.slice(0,chanm.length-1) + "]" } if ((chan.mode&CHANMODE_PRIVATE) && !(this.mode&USERMODE_OPER) && !... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
function IRCClient_numeric322(chan) { | function IRCClient_numeric322(chan,show_modes) { | function IRCClient_numeric322(chan) { var channel_name; if ((chan.mode&CHANMODE_PRIVATE) && !(this.mode&USERMODE_OPER) && !this.onchannel(chan.nam.toUpperCase) ) channel_name = "Priv"; else channel_name = chan.nam; if (!(chan.mode&CHANMODE_SECRET) || (this.mode&USERMODE_OPER) || this.onchannel(chan.nam.toUppe... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/eb0bdd5a634f6c8dd2a311bfb842586e6cea8219/ircd.js/buggy/ircd.js |
!this.onchannel(chan.nam.toUpperCase) ) | !this.onchannel(chan.nam.toUpperCase) ) { | function IRCClient_numeric322(chan) { var channel_name; if ((chan.mode&CHANMODE_PRIVATE) && !(this.mode&USERMODE_OPER) && !this.onchannel(chan.nam.toUpperCase) ) channel_name = "Priv"; else channel_name = chan.nam; if (!(chan.mode&CHANMODE_SECRET) || (this.mode&USERMODE_OPER) || this.onchannel(chan.nam.toUppe... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/eb0bdd5a634f6c8dd2a311bfb842586e6cea8219/ircd.js/buggy/ircd.js |
else | } else { | function IRCClient_numeric322(chan) { var channel_name; if ((chan.mode&CHANMODE_PRIVATE) && !(this.mode&USERMODE_OPER) && !this.onchannel(chan.nam.toUpperCase) ) channel_name = "Priv"; else channel_name = chan.nam; if (!(chan.mode&CHANMODE_SECRET) || (this.mode&USERMODE_OPER) || this.onchannel(chan.nam.toUppe... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/eb0bdd5a634f6c8dd2a311bfb842586e6cea8219/ircd.js/buggy/ircd.js |
if (disp_topic) disp_topic += " "; disp_topic += chan.topic; } | function IRCClient_numeric322(chan) { var channel_name; if ((chan.mode&CHANMODE_PRIVATE) && !(this.mode&USERMODE_OPER) && !this.onchannel(chan.nam.toUpperCase) ) channel_name = "Priv"; else channel_name = chan.nam; if (!(chan.mode&CHANMODE_SECRET) || (this.mode&USERMODE_OPER) || this.onchannel(chan.nam.toUppe... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/eb0bdd5a634f6c8dd2a311bfb842586e6cea8219/ircd.js/buggy/ircd.js | |
this.numeric(322, channel_name + " " + chan.count_users() + " :" + chan.topic); | this.numeric(322, channel_name + " " + chan.count_users() + " :" + disp_topic); | function IRCClient_numeric322(chan) { var channel_name; if ((chan.mode&CHANMODE_PRIVATE) && !(this.mode&USERMODE_OPER) && !this.onchannel(chan.nam.toUpperCase) ) channel_name = "Priv"; else channel_name = chan.nam; if (!(chan.mode&CHANMODE_SECRET) || (this.mode&USERMODE_OPER) || this.onchannel(chan.nam.toUppe... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/eb0bdd5a634f6c8dd2a311bfb842586e6cea8219/ircd.js/buggy/ircd.js |
!this.onchannel(chan.nam.toUpperCase) ) { | !this.onchannel(chan.nam.toUpperCase()) ) { | function IRCClient_numeric322(chan,show_modes) { var channel_name; var disp_topic = ""; if (show_modes) { var chanm = chan.chanmode() disp_topic += "[" + chanm.slice(0,chanm.length-1) + "]" } if ((chan.mode&CHANMODE_PRIVATE) && !(this.mode&USERMODE_OPER) && !this.onchannel(chan.nam.toUpperCase) ) { channel_name ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/4288a1a511dbe07b6c8a7901a012ddfdeb204568/ircd.js/buggy/ircd.js |
this.numeric(333, chan.nam + " " + chan.topicchangedby + " " + chan.topictime); | this.numeric(333, chan.nam + " " + chan.topicchangedby + " " + chan.topictime); | function IRCClient_numeric333(chan) { this.numeric(333, chan.nam + " " + chan.topicchangedby + " " + chan.topictime);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric(351, version + " " + servername + " :Synchronet IRC Daemon by Randy Sommerfeld <sysop@rrx.ca>"); | this.numeric(351, VERSION + " " + servername + " :(REV:" + REVISION + ") " + VERSION_STR); | function IRCClient_numeric351() { this.numeric(351, version + " " + servername + " :Synchronet IRC Daemon by Randy Sommerfeld <sysop@rrx.ca>");} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a8d6cb0d2c42aa8c23da559752d1d706d38ce217/ircd.js/buggy/ircd.js |
this.numeric(351, VERSION + " " + servername + " :(REV:" + REVISION + ") " + VERSION_STR); | this.numeric(351, VERSION + " " + servername + " :" + VERSION_STR); | function IRCClient_numeric351() { this.numeric(351, VERSION + " " + servername + " :(REV:" + REVISION + ") " + VERSION_STR);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/9391ec6e3acaecf7a3a4e48b48d6dfa93b1b8c93/ircd.js/clean/ircd.js |
this.numeric(352, disp + " " + user.uprefix + " " + disphost + " " + user.servername + " " + user.nick + " " + who_mode + " :" + user.hops + " " + user.realname); | this.numeric(352, disp + " " + user.uprefix + " " + disphost + " " + user.servername + " " + user.nick + " " + who_mode + " :" + user.hops + " " + user.realname); | function IRCClient_numeric352(user,show_ips_only,chan) { var who_mode=""; var disp; var disphost; if (!user) return 0; if (!chan) disp = "*"; else disp = chan.nam; if (user.away) who_mode += "G"; else who_mode += "H"; if (chan) { if (chan.modelist[CHANMODE_OP][user.id]) who_mode += "@"; else if (chan.modelist[... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
if (chan.ismode(user.id,CHANLIST_OP)) | if (chan.ismode(user.id,CHANMODE_OP)) | function IRCClient_numeric352(user,show_ips_only,chan) { var who_mode=""; var disp; var disphost; if (!chan) disp = "*"; else disp = chan.nam; if (user.away) who_mode += "G"; else who_mode += "H"; if (chan) { if (chan.ismode(user.id,CHANLIST_OP)) who_mode += "@"; else if (chan.ismode(user.id,CHANLIST_VOICE)) ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/f2f97bbbb51c190c74d5d75a9f8d6aac710d97ad/ircd.js/buggy/ircd.js |
else if (chan.ismode(user.id,CHANLIST_VOICE)) | else if (chan.ismode(user.id,CHANMODE_VOICE)) | function IRCClient_numeric352(user,show_ips_only,chan) { var who_mode=""; var disp; var disphost; if (!chan) disp = "*"; else disp = chan.nam; if (user.away) who_mode += "G"; else who_mode += "H"; if (chan) { if (chan.ismode(user.id,CHANLIST_OP)) who_mode += "@"; else if (chan.ismode(user.id,CHANLIST_VOICE)) ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/f2f97bbbb51c190c74d5d75a9f8d6aac710d97ad/ircd.js/buggy/ircd.js |
if (!user) return 0; | function IRCClient_numeric352(user,show_ips_only,chan) { var who_mode=""; var disp; var disphost; if (!chan) disp = "*"; else disp = chan.nam; if (user.away) who_mode += "G"; else who_mode += "H"; if (chan) { if (chan.ismode(user.id,CHANMODE_OP)) who_mode += "@"; else if (chan.ismode(user.id,CHANMODE_VOICE)) ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/dc8ba7bab5e084f4de6e896dd1556f6ccb4c581b/ircd.js/buggy/ircd.js | |
ctype_str = "@"; | var ctype_str = "@"; | function IRCClient_numeric353(chan, str) { // = public @ secret * everything else if (Channels[chan].mode&CHANMODE_SECRET) ctype_str = "@"; else ctype_str = "="; this.numeric("353", ctype_str + " " + Channels[chan].nam + " :" + str);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/fded592664b20fd6b70f5931014b765c66e34702/ircd.js/clean/ircd.js |
ctype_str = "="; | var ctype_str = "="; | function IRCClient_numeric353(chan, str) { // = public @ secret * everything else if (Channels[chan].mode&CHANMODE_SECRET) ctype_str = "@"; else ctype_str = "="; this.numeric("353", ctype_str + " " + Channels[chan].nam + " :" + str);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/fded592664b20fd6b70f5931014b765c66e34702/ircd.js/clean/ircd.js |
this.numeric(391, servername + " :" + strftime("%A %B %d %Y -- %H:%M %z",time())); | this.numeric(391, servername + " :" + strftime("%A %B %d %Y -- %H:%M %z",time())); | function IRCClient_numeric391() { this.numeric(391, servername + " :" + strftime("%A %B %d %Y -- %H:%M %z",time()));} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric("403", str + " :No such channel or invalid channel designation."); | this.numeric("403", str + " :No such channel or invalid channel designation."); | function IRCClient_numeric403(str) { this.numeric("403", str + " :No such channel or invalid channel designation.");} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric("481", ":Permission Denied. You do not have the correct IRC operator privileges."); | this.numeric("481", ":Permission Denied. " + "You do not have the correct IRC operator privileges."); | function IRCClient_numeric481() { this.numeric("481", ":Permission Denied. You do not have the correct IRC operator privileges.");} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
this.numeric("481", ":Permission Denied. You're not an IRC operator."); | this.numeric("481", ":Permission Denied. You do not have the correct IRC operator privileges."); | function IRCClient_numeric481() { this.numeric("481", ":Permission Denied. You're not an IRC operator.");} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/676b0e584f59b15abf9a76f2142d9d94a1b1bfc5/ircd.js/clean/ircd.js |
var partingChannel; | function IRCClient_part_all() { for(thisChannel in this.channels) { partingChannel=this.channels[thisChannel]; this.do_part(Channels[partingChannel].nam); }} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/932a434bc900126d724150bfed8b94b9a8e530e1/ircd.js/buggy/ircd.js | |
this.do_part(Channels[partingChannel].nam); | this.do_part(partingChannel.nam); | function IRCClient_part_all() { var partingChannel; for(thisChannel in this.channels) { partingChannel=this.channels[thisChannel]; this.do_part(Channels[partingChannel].nam); }} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/1cebcfca3a6240f246861645e271d6418b89f0b2/ircd_channel.js/buggy/load/ircd_channel.js |
server_wallops("Client Exiting: " + this.ircnuh + " (" + str + ")"); | oper_notice("Notice","Client exiting: " + this.nick + " (" + this.uprefix + "@" + this.hostname + ") [" + str + "] [" + this.decip + "]"); | function IRCClient_Quit(str,do_bcast) { if (!str) str = this.nick; if (!this.server) { tmp = "QUIT :" + str; this.bcast_to_uchans_unique(tmp); for(thisChannel in this.channels) { this.rmchan(Channels[this.channels[thisChannel]]); } if (whowas_pointer >= whowas_buffer) whowas_pointer = 0; if (!this.parent) ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a8d6cb0d2c42aa8c23da559752d1d706d38ce217/ircd.js/buggy/ircd.js |
function IRCClient_Quit(str,do_bcast) { | function IRCClient_Quit(str,suppress_bcast,is_netsplit,origin) { var tmp; | function IRCClient_Quit(str,do_bcast) { if (!str) str = this.nick; if (!this.server) { tmp = "QUIT :" + str; this.bcast_to_uchans_unique(tmp); for(thisChannel in this.channels) { this.rmchan(Channels[this.channels[thisChannel]]); } if (whowas_pointer >= whowas_buffer) whowas_pointer = 0; if (!this.parent) ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/3a0a82db2f096ce1ac1bb5a9c7319a6849b0e22a/ircd.js/buggy/ircd.js |
if (do_bcast && (this.conntype > TYPE_UNREGISTERED) ) | if (!suppress_bcast && (this.conntype > TYPE_UNREGISTERED) ) | function IRCClient_Quit(str,do_bcast) { if (!str) str = this.nick; if (!this.server) { tmp = "QUIT :" + str; this.bcast_to_uchans_unique(tmp); for(thisChannel in this.channels) { this.rmchan(Channels[this.channels[thisChannel]]); } if (whowas_pointer >= whowas_buffer) whowas_pointer = 0; if (!this.parent) ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/3a0a82db2f096ce1ac1bb5a9c7319a6849b0e22a/ircd.js/buggy/ircd.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.