rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
e.server.parent.display (getMsg(MSG_RETRY_NICK, [e.params[2], newnick]), "433"); this.primServ.sendData("NICK " + newnick + "\n"); | this.display(getMsg(MSG_RETRY_NICK, [nick, newnick]), "433"); this.primServ.sendData("NICK " + fromUnicode(newnick, this) + "\n"); | function my_433 (e){ if ((e.params[2] == this.INITIAL_NICK) && (this.state == NET_CONNECTING)) { var newnick = this.INITIAL_NICK + "_"; this.INITIAL_NICK = newnick; e.server.parent.display (getMsg(MSG_RETRY_NICK, [e.params[2], newnick]), "433"); this.pri... |
this.display (getMsg(MSG_NICK_IN_USE, e.params[2]), "433"); | this.display(getMsg(MSG_NICK_IN_USE, nick), "433"); | function my_433 (e){ if ((e.params[2] == this.INITIAL_NICK) && (this.state == NET_CONNECTING)) { var newnick = this.INITIAL_NICK + "_"; this.INITIAL_NICK = newnick; e.server.parent.display (getMsg(MSG_RETRY_NICK, [e.params[2], newnick]), "433"); this.pri... |
if (e.params[2] == CIRCNetwork.prototype.INITIAL_NICK && this.connecting) | if (e.params[2] == this.INITIAL_NICK && this.connecting) | function my_433 (e){ if (e.params[2] == CIRCNetwork.prototype.INITIAL_NICK && this.connecting) { var newnick = CIRCNetwork.prototype.INITIAL_NICK + "_"; CIRCNetwork.prototype.INITIAL_NICK = newnick; e.server.parent.display (getMsg("my_433Retry", [e.params[2], newnick]), ... |
var newnick = CIRCNetwork.prototype.INITIAL_NICK + "_"; CIRCNetwork.prototype.INITIAL_NICK = newnick; e.server.parent.display (getMsg("my_433Retry", [e.params[2], newnick]), | var newnick = this.INITIAL_NICK + "_"; this.INITIAL_NICK = newnick; e.server.parent.display (getMsg(MSG_RETRY_NICK, [e.params[2], newnick]), | function my_433 (e){ if (e.params[2] == CIRCNetwork.prototype.INITIAL_NICK && this.connecting) { var newnick = CIRCNetwork.prototype.INITIAL_NICK + "_"; CIRCNetwork.prototype.INITIAL_NICK = newnick; e.server.parent.display (getMsg("my_433Retry", [e.params[2], newnick]), ... |
this.display (getMsg("my_433Msg", e.params[2]), "433"); | this.display (getMsg(MSG_NICK_IN_USE, e.params[2]), "433"); | function my_433 (e){ if (e.params[2] == CIRCNetwork.prototype.INITIAL_NICK && this.connecting) { var newnick = CIRCNetwork.prototype.INITIAL_NICK + "_"; CIRCNetwork.prototype.INITIAL_NICK = newnick; e.server.parent.display (getMsg("my_433Retry", [e.params[2], newnick]), ... |
if (e.params[2] == this.INITIAL_NICK && this.connecting) | if ((e.params[2] == this.INITIAL_NICK) && (this.state == NET_CONNECTING)) | function my_433 (e){ if (e.params[2] == this.INITIAL_NICK && this.connecting) { var newnick = this.INITIAL_NICK + "_"; this.INITIAL_NICK = newnick; e.server.parent.display (getMsg(MSG_RETRY_NICK, [e.params[2], newnick]), "433"); this.primServ.sendData("N... |
var meat = e.meat; if (meat.indexOf(bot.prefix) == 0 && userIsOwner(user)) | var msg = e.decodeParam(2); if (msg.indexOf(bot.prefix) == 0 && userIsOwner(user)) | function my_chan_privmsg (e){ var user = e.user; var meat = e.meat; if (meat.indexOf(bot.prefix) == 0 && userIsOwner(user)) { /* if last char is a continuation character, then... */ if (meat[meat.length - 1] == '\\') { user.accumulatedScript = meat.substring(bot.prefix.length, ... |
if (meat[meat.length - 1] == '\\') { user.accumulatedScript = meat.substring(bot.prefix.length, meat.length - 1); | if (msg[msg.length - 1] == '\\') { user.accumulatedScript = msg.substring(bot.prefix.length, msg.length - 1); | function my_chan_privmsg (e){ var user = e.user; var meat = e.meat; if (meat.indexOf(bot.prefix) == 0 && userIsOwner(user)) { /* if last char is a continuation character, then... */ if (meat[meat.length - 1] == '\\') { user.accumulatedScript = meat.substring(bot.prefix.length, ... |
return bot_eval(e, meat.substring(bot.prefix.length, meat.length)); | return bot_eval(e, msg.substring(bot.prefix.length, msg.length)); | function my_chan_privmsg (e){ var user = e.user; var meat = e.meat; if (meat.indexOf(bot.prefix) == 0 && userIsOwner(user)) { /* if last char is a continuation character, then... */ if (meat[meat.length - 1] == '\\') { user.accumulatedScript = meat.substring(bot.prefix.length, ... |
var lastLine = (meat[meat.length - 1] != '\\'); var line = meat.substring(0, meat.length - (lastLine ? 0 : 1)); | var lastLine = (msg[msg.length - 1] != '\\'); var line = msg.substring(0, msg.length - (lastLine ? 0 : 1)); | function my_chan_privmsg (e){ var user = e.user; var meat = e.meat; if (meat.indexOf(bot.prefix) == 0 && userIsOwner(user)) { /* if last char is a continuation character, then... */ if (meat[meat.length - 1] == '\\') { user.accumulatedScript = meat.substring(bot.prefix.length, ... |
updateUserList() | if (client.currentObject == this) updateUserList(); | function my_cjoin (e){ if (!("messages" in this)) this.displayHere(getMsg(MSG_CHANNEL_OPENED, this.unicodeName), MT_INFO); if (userIsMe(e.user)) { this.display (getMsg(MSG_YOU_JOINED, e.channel.unicodeName), "JOIN", e.server.me, this); client.globalHistory.addPage(this... |
this.display (getMsg("my_cjoinMsg", e.channel.unicodeName), "JOIN", | this.display (getMsg(MSG_YOU_JOINED, e.channel.unicodeName), "JOIN", | function my_cjoin (e){ if (userIsMe (e.user)) { this.display (getMsg("my_cjoinMsg", e.channel.unicodeName), "JOIN", e.server.me, this); setCurrentObject(this); } else { this.display(getMsg("my_cjoinmsg2", [e.user.properNick, e.user.name, ... |
setCurrentObject(this); | function my_cjoin (e){ if (userIsMe (e.user)) { this.display (getMsg("my_cjoinMsg", e.channel.unicodeName), "JOIN", e.server.me, this); setCurrentObject(this); } else { this.display(getMsg("my_cjoinmsg2", [e.user.properNick, e.user.name, ... | |
this.display(getMsg("my_cjoinmsg2", [e.user.properNick, e.user.name, e.user.host, e.channel.unicodeName]), | this.display(getMsg(MSG_SOMEONE_JOINED, [e.user.properNick, e.user.name, e.user.host, e.channel.unicodeName]), | function my_cjoin (e){ if (userIsMe (e.user)) { this.display (getMsg("my_cjoinMsg", e.channel.unicodeName), "JOIN", e.server.me, this); setCurrentObject(this); } else { this.display(getMsg("my_cjoinmsg2", [e.user.properNick, e.user.name, ... |
updateChannel (e.channel); | e.channel.updateHeader(); | function my_cjoin (e){ if (userIsMe (e.user)) { this.display (getMsg("my_cjoinMsg", e.channel.unicodeName), "JOIN", e.server.me, this); setCurrentObject(this); } else { this.display(getMsg("my_cjoinmsg2", [e.user.properNick, e.user.name, ... |
this._addToUserList (e.user); | this._addUserToGraph (e.user); | function my_cjoin (e){ if (userIsMe (e.user)) this.display ("YOU have joined " + e.channel.name, "JOIN", "!ME"); else this.display(e.user.properNick + " (" + e.user.name + "@" + e.user.host + ") has joined " + e.channel.name, "JOIN", e.user.nick); this._add... |
this.display (getMsg("my_ckickMsg", [e.channel.unicodeName, e.user.properNick, e.reason]), | { this.display (getMsg(MSG_YOUR_GONE, [e.channel.unicodeName, e.user.properNick, e.reason]), | function my_ckick (e){ if (userIsMe (e.lamer)) this.display (getMsg("my_ckickMsg", [e.channel.unicodeName, e.user.properNick, e.reason]), "KICK", e.user, this); else { var enforcerProper, enforcerNick; if (userIsMe (e.user)) { ... |
this.display (getMsg("my_ckickMsg2", | this.display (getMsg(MSG_SOMEONE_GONE, | function my_ckick (e){ if (userIsMe (e.lamer)) this.display (getMsg("my_ckickMsg", [e.channel.unicodeName, e.user.properNick, e.reason]), "KICK", e.user, this); else { var enforcerProper, enforcerNick; if (userIsMe (e.user)) { ... |
updateChannel (e.channel); | e.channel.updateHeader(); | function my_ckick (e){ if (userIsMe (e.lamer)) this.display (getMsg("my_ckickMsg", [e.channel.unicodeName, e.user.properNick, e.reason]), "KICK", e.user, this); else { var enforcerProper, enforcerNick; if (userIsMe (e.user)) { ... |
this.list.remove (e.lamer.getDecoratedNick()); | this._removeUserFromGraph(e.user); | function my_ckick (e){ if (userIsMe (e.lamer)) this.display ("YOU have been booted from " + e.channel.name + " by " + e.user.properNick + " (" + e.reason + ")", "KICK", e.user.nick); else { var enforcerProper, enforcerNick; if (userIsMe (e.user)) ... |
var msg = toUnicode(e.params.slice(1).join(" "), e.channel.charset); this.display (getMsg("my_cmodeMsg", [msg, e.user.properNick]), "MODE", e.user, this); | var msg = toUnicode(e.params.slice(1).join(" "), this); this.display (getMsg(MSG_MODE_CHANGED, [msg, e.user.properNick]), "MODE", e.user, this); | function my_cmode (e){ if ("user" in e) { var msg = toUnicode(e.params.slice(1).join(" "), e.channel.charset); this.display (getMsg("my_cmodeMsg", //[e.params.slice(1).join(" "), [msg, e.u... |
updateChannel (e.channel); updateTitle (e.channel); | e.channel.updateHeader(); updateTitle(e.channel); if (client.currentObject == this) updateUserList(); | function my_cmode (e){ if ("user" in e) { var msg = toUnicode(e.params.slice(1).join(" "), e.channel.charset); this.display (getMsg("my_cmodeMsg", //[e.params.slice(1).join(" "), [msg, e.u... |
e.usersAffected[u].updateDecoratedNick(); | e.usersAffected[u].updateGraphResource(); | function my_cmode (e){ if (e.user) this.display ("Mode " + e.params.slice(1).join(" ") + " by " + e.user.nick, "MODE"); for (var u in e.usersAffected) e.usersAffected[u].updateDecoratedNick(); updateChannel (e.channel); updateTitle (e.channel); } |
updateUserList(); | if (client.currentObject == this) updateUserList(); | function my_cnick (e){ if (userIsMe (e.user)) { if (getTabForObject(this)) { this.displayHere(getMsg(MSG_NEWNICK_YOU, e.user.unicodeName), "NICK", "ME!", e.user, this); } this.parent.parent.updateHeader(); } else { this.display(get... |
this.display (getMsg("my_cnickMsg", e.user.properNick), "NICK", "ME!", e.user, this); updateNetwork(); | if (client.currentObject == this) this.displayHere(getMsg(MSG_NEWNICK_YOU, e.user.properNick), "NICK", "ME!", e.user, this); this.parent.parent.updateHeader(); | function my_cnick (e){ if (userIsMe (e.user)) { this.display (getMsg("my_cnickMsg", e.user.properNick), "NICK", "ME!", e.user, this); updateNetwork(); } else this.display (getMsg("my_cnickMsg2", e.oldNick, e.user.properNick), "NICK", e.user, thi... |
this.display (getMsg("my_cnickMsg2", e.oldNick, e.user.properNick), "NICK", e.user, this); | { this.display(getMsg(MSG_NEWNICK_NOTYOU, [e.oldNick, e.user.properNick]), "NICK", e.user, this); } | function my_cnick (e){ if (userIsMe (e.user)) { this.display (getMsg("my_cnickMsg", e.user.properNick), "NICK", "ME!", e.user, this); updateNetwork(); } else this.display (getMsg("my_cnickMsg2", e.oldNick, e.user.properNick), "NICK", e.user, thi... |
this.list.remove (e.user.getDecoratedNick()); e.user.updateDecoratedNick(); this._addToUserList(e.user); | e.user.updateGraphResource(); | function my_cnick (e){ if (userIsMe (e.user)) { this.display ("YOU are now known as " + e.user.properNick, "NICK", "!ME"); updateNetwork(); } else this.display (e.oldNick + " is now known as " + e.user.properNick, "NICK"); this.list.remove (e... |
this.display (getMsg("my_cpartMsg", e.channel.unicodeName), "PART", | this.display (getMsg(MSG_YOU_LEFT, e.channel.unicodeName), "PART", | function my_cpart (e){ this._removeUserFromGraph(e.user); if (userIsMe (e.user)) { this.display (getMsg("my_cpartMsg", e.channel.unicodeName), "PART", e.user, this); if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ ... |
if (client.DELETE_ON_PART) onDeleteView(this); | if ("noDelete" in this) delete this.noDelete; else if (client.prefs["deleteOnPart"]) this.dispatch("delete"); | function my_cpart (e){ this._removeUserFromGraph(e.user); if (userIsMe (e.user)) { this.display (getMsg("my_cpartMsg", e.channel.unicodeName), "PART", e.user, this); if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ ... |
this.display (getMsg("my_cpartMsg2", [e.user.properNick, e.channel.unicodeName]), | { this.display (getMsg(MSG_SOMEONE_LEFT, [e.user.properNick, e.channel.unicodeName]), | function my_cpart (e){ this._removeUserFromGraph(e.user); if (userIsMe (e.user)) { this.display (getMsg("my_cpartMsg", e.channel.unicodeName), "PART", e.user, this); if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ ... |
updateChannel (e.channel); | e.channel.updateHeader(); | function my_cpart (e){ this._removeUserFromGraph(e.user); if (userIsMe (e.user)) { this.display (getMsg("my_cpartMsg", e.channel.unicodeName), "PART", e.user, this); if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ ... |
client.onInputDelete(e); | onDeleteView(this); | function my_cpart (e){ this._removeUserFromGraph(e.user); if (userIsMe (e.user)) { this.display (getMsg("my_cpartMsg", e.channel.name), "PART", e.user, this); if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ ... |
this.list.remove (e.user.getDecoratedNick()); | function my_cpart (e){ if (userIsMe (e.user)) this.display ("YOU have left " + e.channel.name, "PART", "!ME"); else this.display (e.user.properNick + " has left " + e.channel.name, "PART"); this.list.remove (e.user.getDecoratedNick()); updateChannel (e.channel); } | |
playSounds(client.QUERY_BEEP); | playSounds(client.prefs["queryBeep"]); | function my_cprivmsg (e){ if ("messages" in this) { playSounds(client.QUERY_BEEP); } else { playSounds(client.MSG_BEEP); if (client.NEW_TAB_LIMIT == 0 || client.viewsArray.length < client.NEW_TAB_LIMIT) { var tab = openQueryTab (e.server, e.user.n... |
playSounds(client.MSG_BEEP); if (client.NEW_TAB_LIMIT == 0 || client.viewsArray.length < client.NEW_TAB_LIMIT) | playSounds(client.prefs["msgBeep"]); var limit = client.prefs["newTabLimit"]; if (limit == 0 || client.viewsArray.length < limit) | function my_cprivmsg (e){ if ("messages" in this) { playSounds(client.QUERY_BEEP); } else { playSounds(client.MSG_BEEP); if (client.NEW_TAB_LIMIT == 0 || client.viewsArray.length < client.NEW_TAB_LIMIT) { var tab = openQueryTab (e.server, e.user.n... |
if (userIsMe(e.user)) this.display (getMsg("my_cquitMsg", [e.server.parent.name, e.reason]), | if (userIsMe(e.user)) { this.display (getMsg(MSG_YOU_QUIT, [e.server.parent.name, e.reason]), | function my_cquit (e){ if (userIsMe(e.user)) /* I dont think this can happen */ this.display (getMsg("my_cquitMsg", [e.server.parent.name, e.reason]), "QUIT", e.user, this); else this.display (getMsg("my_cquitMsg2", [e.user.properNick, ... |
this.display (getMsg("my_cquitMsg2", [e.user.properNick, e.server.parent.name, e.reason]), | { this.display (getMsg(MSG_SOMEONE_QUIT, [e.user.properNick, e.server.parent.name, e.reason]), | function my_cquit (e){ if (userIsMe(e.user)) /* I dont think this can happen */ this.display (getMsg("my_cquitMsg", [e.server.parent.name, e.reason]), "QUIT", e.user, this); else this.display (getMsg("my_cquitMsg2", [e.user.properNick, ... |
updateChannel (e.channel); | e.channel.updateHeader(); | function my_cquit (e){ if (userIsMe(e.user)) /* I dont think this can happen */ this.display (getMsg("my_cquitMsg", [e.server.parent.name, e.reason]), "QUIT", e.user, this); else this.display (getMsg("my_cquitMsg2", [e.user.properNick, ... |
this.list.remove (e.user.getDecoratedNick()); | this._removeUserFromGraph(e.user); | function my_cquit (e){ if (userIsMe(e.user)) /* I dont think this can happen */ this.display ("YOU have left " + e.server.parent.name + " (" + e.reason + ")", "QUIT", "!ME"); else this.display (e.user.properNick + " has left " + e.server.parent.name + " (" +... |
this.display (getMsg("my_ctcprunk", | this.display (getMsg(MSG_FMT_CTCPREPLY, | function my_ctcprunk (e){ this.display (getMsg("my_ctcprunk", [e.CTCPCode, e.CTCPData, e.user.properNick]), "CTCP_REPLY", e.user, e.server.me);} |
this.prefs = client.prefs; | function my_dccfileinit(e){ /* FIXME: we're currently 'borrowing' the client views' prefs until we have * our own pref manager. */ this.prefs = client.prefs; this.busy = false; this.progress = -1; updateProgress();} | |
this.prefs = client.prefs; | function my_dccinit(e){ /* FIXME: we're currently 'borrowing' the client views' prefs until we have * our own pref manager. */ this.prefs = client.prefs;} | |
this.displayHere(e.line, "PRIVMSG", e.user, "ME!"); | this.displayHere(toUnicode(e.line, this), "PRIVMSG", e.user, "ME!"); | function my_dccprivmsg(e){ this.displayHere(e.line, "PRIVMSG", e.user, "ME!");} |
for (var i = 0; i < tree.selectedItems.length; i++) | var rangeCount = tree.view.selection.getRangeCount(); for (var i = 0; i < rangeCount; ++i) | function my_getselectedusers () { /* Grab a reference to the tree element with ID = user-list . See chatzilla.xul */ var tree = document.getElementById("user-list"); var cell; /* reference to each selected cell of the tree object */ var rv_ary = new Array; /* return value arrray for CIRCChanUser objects */ ... |
cell = tree.selectedItems[i].firstChild.childNodes[2].firstChild; | var start = {}, end = {}; tree.view.selection.getRangeAt(i, start, end); for (var k = start.value; k <= end.value; ++k) { var item = tree.contentView.getItemAtIndex(k); | function my_getselectedusers () { /* Grab a reference to the tree element with ID = user-list . See chatzilla.xul */ var tree = document.getElementById("user-list"); var cell; /* reference to each selected cell of the tree object */ var rv_ary = new Array; /* return value arrray for CIRCChanUser objects */ ... |
rv_ary[i] = this.getUser( cell.getAttribute("value") ); | cell = item.firstChild.childNodes[2]; rv_ary[i] = this.getUser( cell.getAttribute("label") ); } | function my_getselectedusers () { /* Grab a reference to the tree element with ID = user-list . See chatzilla.xul */ var tree = document.getElementById("user-list"); var cell; /* reference to each selected cell of the tree object */ var rv_ary = new Array; /* return value arrray for CIRCChanUser objects */ ... |
this.rdfRes = client.rdf.GetResource(RES_PFX + "CHANNEL:" + this.parent.parent.name + ":" + escape(this.name)); | var id = RES_PFX + "CHANNEL:" + this.parent.parent.name + ":" + escape(this.name); this.rdfRes = client.rdf.GetResource(id); | function my_graphres (){ if (!("rdfRes" in this)) { this.rdfRes = client.rdf.GetResource(RES_PFX + "CHANNEL:" + this.parent.parent.name + ":" + escape(this.name)); //dd ("created channel resource " + this.rdfRes.Valu... |
this.display (getMsg("my_Invite", [e.user.properNick, e.user.name, e.user.host, e.params[2]]), "INVITE"); | this.display (getMsg(MSG_INVITE_YOU, [e.user.properNick, e.user.name, e.user.host, e.params[2]]), "INVITE"); | function my_invite (e){ this.display (getMsg("my_Invite", [e.user.properNick, e.user.name, e.user.host, e.params[2]]), "INVITE");} |
this._list.saveTo = file; | { var lfile = new LocalFile(file); if (!lfile.localFile.exists()) { lfile.localFile.create(NORMAL_FILE_TYPE, 0666 & ~futils.umask); } this._list.file = new LocalFile(lfile.localFile, ">"); } | function my_list(word, file){ if (("_list" in this) && !this._list.done) return false; this._list = new Array(); this._list.string = word; this._list.regexp = null; this._list.done = false; this._list.count = 0; if (file) this._list.saveTo = file; if (word instanceof RegExp) { ... |
this._list.saveTo = file; | if (file) this._list.saveTo = file; | function my_list(word, file){ if (("_list" in this) && !this._list.done) return false; this._list = new Array(); this._list.string = word; this._list.regexp = null; this._list.done = false; this._list.count = 0; this._list.saveTo = file; if (word instanceof RegExp) { this._list.... |
if (network.list.count == network.list.lastLength) | if (network._list.count == network._list.lastLength) | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
network.list.lastLength = network.list.count; network.list.endTimeout = | network._list.lastLength = network._list.count; network._list.endTimeout = | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
var list = network.list; | var list = network._list; | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
delete network.list; | delete network._list; | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
if (!("list" in this)) | if (!("_list" in this)) | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
this.list = new Array(); this.list.regexp = null; | this._list = new Array(); this._list.regexp = null; this._list.done = false; this._list.count = 0; | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
if (client.currentObject != this) display (getMsg(MSG_LIST_REROUTED, this.unicodeName)); this.list.lastLength = 0; this.list.done = false; this.list.count = 0; this.list.displayed = 0; setTimeout(outputList, 250, this); this.list.endTimeout = setTimeout(checkEndList, 1500, this); | if (("saveTo" in this._list) && this._list.saveTo) { var file = new LocalFile(this._list.saveTo); if (!file.localFile.exists()) { file.localFile.create(NORMAL_FILE_TYPE, 0666 & ~futils.umask); } this._list.file = new LocalFile(file.localFile, ">"); } else { this._list.displayed = 0; if (client.currentObject != this) d... | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
network.displayHere (getMsg("my_322", list[i]), "322"); | network.displayHere (getMsg(MSG_FMT_CHANLIST, list[i]), "322"); | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
network.displayHere (getMsg("my_323", [list.displayed, list.count]), "INFO"); | network.displayHere(getMsg(MSG_LIST_END, [list.displayed, list.count])); | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
client.currentObject.display (getMsg("my_321", this.name), "INFO"); | display (getMsg(MSG_LIST_REROUTED, this.name)); | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
if (("saveTo" in this._list) && this._list.saveTo) | if ("saveTo" in this._list) | function my_list_init (){ const NORMAL_FILE_TYPE = Components.interfaces.nsIFile.NORMAL_FILE_TYPE; function checkEndList (network) { if (network._list.count == network._list.lastLength) { network.on323(); } else { network._list.lastLength = network._list... |
if (!("list" in this) || !("done" in this.list)) | if (!("_list" in this) || !("done" in this._list)) | function my_listrply (e){ if (!("list" in this) || !("done" in this.list)) this.listInit(); ++this.list.count; var chanName = e.decodeParam(2); var topic = e.decodeParam(4); if (!this.list.regexp || chanName.match(this.list.regexp) || topic.match(this.list.regexp)) { this.list.pus... |
++this.list.count; | ++this._list.count; | function my_listrply (e){ if (!("list" in this) || !("done" in this.list)) this.listInit(); ++this.list.count; var chanName = e.decodeParam(2); var topic = e.decodeParam(4); if (!this.list.regexp || chanName.match(this.list.regexp) || topic.match(this.list.regexp)) { this.list.pus... |
if (!this.list.regexp || chanName.match(this.list.regexp) || topic.match(this.list.regexp)) | if (!this._list.regexp || chanName.match(this._list.regexp) || topic.match(this._list.regexp)) | function my_listrply (e){ if (!("list" in this) || !("done" in this.list)) this.listInit(); ++this.list.count; var chanName = e.decodeParam(2); var topic = e.decodeParam(4); if (!this.list.regexp || chanName.match(this.list.regexp) || topic.match(this.list.regexp)) { this.list.pus... |
this.list.push([chanName, e.params[3], topic]); | if (!("file" in this._list)) { this._list.push([chanName, e.params[3], topic]); } else { this._list.file.write(fromUnicode(chanName, "UTF-8") + " " + e.params[3] + " " + fromUnicode(topic, "UTF-8") + "\n"); } | function my_listrply (e){ if (!("list" in this) || !("done" in this.list)) this.listInit(); ++this.list.count; var chanName = e.decodeParam(2); var topic = e.decodeParam(4); if (!this.list.regexp || chanName.match(this.list.regexp) || topic.match(this.list.regexp)) { this.list.pus... |
e.params[2] = toUnicode(e.params[2]); | e.params[2] = toUnicode(e.params[2], this); | function my_listrply (e){ if (!("list" in this) || !("done" in this.list)) this.listInit(); ++this.list.count; e.params[2] = toUnicode(e.params[2]); if (!(this.list.regexp) || e.params[2].match(this.list.regexp) || e.params[4].match(this.list.regexp)) { this.list.... |
this.list.push([e.params[2], e.params[3], toUnicode(e.params[4])]); | this.list.push([e.params[2], e.params[3], toUnicode(e.params[4], this)]); | function my_listrply (e){ if (!("list" in this) || !("done" in this.list)) this.listInit(); ++this.list.count; e.params[2] = toUnicode(e.params[2]); if (!(this.list.regexp) || e.params[2].match(this.list.regexp) || e.params[4].match(this.list.regexp)) { this.list.... |
if (!("_list" in this) || !("done" in this._list)) | if (!("_list" in this) || !("lastLength" in this._list)) | function my_listrply (e){ if (!("_list" in this) || !("done" in this._list)) this.listInit(); ++this._list.count; var chanName = e.decodeParam(2); var topic = e.decodeParam(4); if (!this._list.regexp || chanName.match(this._list.regexp) || topic.match(this._list.regexp)) { if (!("... |
var connection = e.server.connection; | function my_netdisconnect (e){ var connection = e.server.connection; var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg("my_netdisconnectConnectionClosed", [this.name, ... | |
msg = getMsg("my_netdisconnectConnectionClosed", [this.name, connection.host, connection.port]); | msg = getMsg(MSG_CONNECTION_CLOSED, [this.name, e.server.hostname, e.server.port]); | function my_netdisconnect (e){ var connection = e.server.connection; var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg("my_netdisconnectConnectionClosed", [this.name, ... |
msg = getMsg("my_netdisconnectConnectionRefused", [this.name, connection.host, connection.port]); | msg = getMsg(MSG_CONNECTION_REFUSED, [this.name, e.server.hostname, e.server.port]); | function my_netdisconnect (e){ var connection = e.server.connection; var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg("my_netdisconnectConnectionClosed", [this.name, ... |
msg = getMsg("my_netdisconnectConnectionTimeout", [this.name, connection.host, connection.port]); | msg = getMsg(MSG_CONNECTION_TIMEOUT, [this.name, e.server.hostname, e.server.port]); | function my_netdisconnect (e){ var connection = e.server.connection; var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg("my_netdisconnectConnectionClosed", [this.name, ... |
msg = getMsg("my_netdisconnectUnknownHost", connection.host); | msg = getMsg(MSG_UNKNOWN_HOST, e.server.hostname); | function my_netdisconnect (e){ var connection = e.server.connection; var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg("my_netdisconnectConnectionClosed", [this.name, ... |
msg = getMsg("my_netdisconnectConnectionClosedStatus", [this.name, connection.host, connection.port]); | msg = getMsg(MSG_CLOSE_STATUS, [this.name, e.server.hostname, e.server.port]); | function my_netdisconnect (e){ var connection = e.server.connection; var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg("my_netdisconnectConnectionClosed", [this.name, ... |
msg = getMsg("my_neterrorConnectionClosed", [this.name, connection.host, connection.port]); | msg = getMsg(MSG_CONNECTION_CLOSED, [this.name, e.server.hostname, e.server.port]); | function my_netdisconnect (e){ var connection = e.server.connection; var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg("my_netdisconnectConnectionClosed", [this.name, ... |
dispatch("sync-headers"); | function my_netdisconnect (e){ var connection = e.server.connection; var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg("my_netdisconnectConnectionClosed", [this.name, ... | |
var reconnect = false; | function my_netdisconnect (e){ var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); bre... | |
reconnect = true; | function my_netdisconnect (e){ var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); bre... | |
if (this.connecting) | if (this.state != NET_ONLINE) | function my_netdisconnect (e){ var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); bre... |
this.displayHere(msg, "ERROR"); | this.displayHere(msg, msgType); | function my_netdisconnect (e){ var msg; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); break; case NS_ERR... |
obj.displayHere(msg, "ERROR"); | obj.displayHere(msg, msgType); | function my_netdisconnect (e){ var msg; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); break; case NS_ERR... |
if (("reconnect" in this) && this.reconnect) { this.connect(this.requireSecurity); delete this.reconnect; } | function my_netdisconnect (e){ var msg; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); break; case NS_ERR... | |
if (this.state == NET_OFFLINE) { this.busy = false; updateProgress(); } | function my_neterror (e){ var msg; var type = "ERROR"; if (typeof e.errorCode != "undefined") { switch (e.errorCode) { case JSIRC_ERR_NO_SOCKET: msg = MSG_ERR_NO_SOCKET; break; case JSIRC_ERR_EXHAUSTED: msg = MSG_ERR_EXHAUSTED;... | |
msg = getMsg ("my_neterrorNoSocket"); | msg = MSG_ERR_NO_SOCKET; | function my_neterror (e){ var msg; if (typeof e.errorCode != "undefined") { switch (e.errorCode) { case JSIRC_ERR_NO_SOCKET: msg = getMsg ("my_neterrorNoSocket"); break; case JSIRC_ERR_EXHAUSTED: msg = getMsg (... |
msg = getMsg ("my_neterrorExhausted"); | msg = MSG_ERR_EXHAUSTED; | function my_neterror (e){ var msg; if (typeof e.errorCode != "undefined") { switch (e.errorCode) { case JSIRC_ERR_NO_SOCKET: msg = getMsg ("my_neterrorNoSocket"); break; case JSIRC_ERR_EXHAUSTED: msg = getMsg (... |
this.connecting = false; | function my_neterror (e){ var msg; if (typeof e.errorCode != "undefined") { switch (e.errorCode) { case JSIRC_ERR_NO_SOCKET: msg = MSG_ERR_NO_SOCKET; break; case JSIRC_ERR_EXHAUSTED: msg = MSG_ERR_EXHAUSTED; break; ... | |
this.display (msg, "ERROR"); | this.display(msg, type); | function my_neterror (e){ var msg; if (typeof e.errorCode != "undefined") { switch (e.errorCode) { case JSIRC_ERR_NO_SOCKET: msg = MSG_ERR_NO_SOCKET; break; case JSIRC_ERR_EXHAUSTED: msg = MSG_ERR_EXHAUSTED; break; ... |
if (client.userClose && client.getConnectionCount() == 0) window.close(); | function my_neterror (e){ var msg = (this.connecting) ? "Could not connect to " : "You are no longer connected to "; this.display (msg + this.name + " (" + e.server.connection.host + ").", "ERROR"); this.connecting = false; updateTitle();} | |
updateNetwork (this); | this.updateHeader(this); | function my_netping (e){ updateNetwork (this);} |
updateNetwork (this); | this.updateHeader(this); | function my_netpong (e){ updateNetwork (this); } |
this.display (toUnicode(e.params[2], this.charset), "NOTICE", this, e.server.me); | this.display (toUnicode(e.params[2], this), "NOTICE", this, e.server.me); | function my_notice (e){ this.display (toUnicode(e.params[2], this.charset), "NOTICE", this, e.server.me); } |
display (getMsg("my_replyping", [e.user.properNick, delay]), "INFO", | display (getMsg(MSG_PING_REPLY, [e.user.properNick, delay]), "INFO", | function my_replyping (e){ var delay = formatDateOffset ((new Date() - new Date(Number(e.CTCPData))) / 1000); display (getMsg("my_replyping", [e.user.properNick, delay]), "INFO", e.user, "ME!");} |
if ("_firstNick" in this) delete this._firstNick; | function my_sconnect (e){ this.busy = true; updateProgress(); this.display (getMsg(MSG_CONNECTION_ATTEMPT, [this.getURL(), e.server.getURL(), e.connectAttempt, this.MAX_CONNECT_ATTEMPTS]), "INFO");} | |
this.display (getMsg("my_sconnect", [this.name, e.host, e.port, e.connectAttempt, this.MAX_CONNECT_ATTEMPTS]), "INFO"); | this.display (getMsg(MSG_CONNECTION_ATTEMPT, [this.name, e.host, e.port, e.connectAttempt, this.MAX_CONNECT_ATTEMPTS]), "INFO"); | function my_sconnect (e){ this.display (getMsg("my_sconnect", [this.name, e.host, e.port, e.connectAttempt, this.MAX_CONNECT_ATTEMPTS]), "INFO");} |
updateNetwork (this); | this.updateHeader(); client.updateHeader(); | function my_showtonet (e){ var p = (3 in e.params) ? e.params[2] + " " : ""; var str = ""; switch (e.code) { case "004": case "005": str = e.params.slice(3).join (" "); break; case "001": updateTitle(this); updateNetwork (this); upd... |
if (client.currentObject == this) | for (var v in client.viewsArray) | function my_showtonet (e){ var p = (3 in e.params) ? e.params[2] + " " : ""; var str = ""; switch (e.code) { case "004": case "005": str = e.params.slice(3).join (" "); break; case "001": updateTitle(this); updateNetwork (this); upd... |
var status = document.getElementById("offline-status"); status.removeAttribute ("offline"); | var source = client.viewsArray[v].source; var details = getObjectDetails(client.viewsArray[v].source); if (source.TYPE != "CIRCUser" && "network" in details && details.network == this) { gotoIRCURL(source.getURL()); } | function my_showtonet (e){ var p = (3 in e.params) ? e.params[2] + " " : ""; var str = ""; switch (e.code) { case "004": case "005": str = e.params.slice(3).join (" "); break; case "001": updateTitle(this); updateNetwork (this); upd... |
} for (var v in client.viewsArray) { var source = client.viewsArray[v].source; var details = getObjectDetails(client.viewsArray[v].source); if ("network" in details && details.network == this) gotoIRCURL(source.getURL()); | function my_showtonet (e){ var p = (3 in e.params) ? e.params[2] + " " : ""; var str = ""; switch (e.code) { case "004": case "005": str = e.params.slice(3).join (" "); break; case "001": updateTitle(this); updateNetwork (this); upd... | |
this.display (getMsg("my_topicinfoMsg", [this.unicodeName, this.topicBy, this.topicDate]), "TOPIC"); | this.display (getMsg(MSG_TOPIC_DATE, [this.unicodeName, this.topicBy, this.topicDate]), "TOPIC"); | function my_topicinfo (e){ this.display (getMsg("my_topicinfoMsg", [this.unicodeName, this.topicBy, this.topicDate]), "TOPIC"); } |
display(getMsg(MSG_USER_MODE, [e.user.unicodeName, e.params[2]]), MT_MODE); | display(getMsg(MSG_USER_MODE, [e.user.unicodeName, e.params[2]]), MT_MODE); } else { display(getMsg(MSG_USER_MODE, [e.params[1], e.params[2]]), MT_MODE); } | function my_umode (e){ if ("user" in e && e.user) e.user.updateHeader(); //display(getMsg(MSG_USER_MODE, [e.params[1], e.params[2]]), MT_MODE); display(getMsg(MSG_USER_MODE, [e.user.unicodeName, e.params[2]]), MT_MODE);} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.