Commit 099c5230fee7e05497ecad445b59922b31afc361
- Diff rendering mode:
- inline
- side by side
js/irc/baseircclient.js
(2 / 0)
  | |||
396 | 396 | }, | |
397 | 397 | irc_RPL_NOWAWAY: function(prefix, params) { | |
398 | 398 | this.awayStatus(true, params.indexFromEnd(-1)); | |
399 | return true; | ||
399 | 400 | }, | |
400 | 401 | irc_RPL_UNAWAY: function(prefix, params) { | |
401 | 402 | this.awayStatus(false, params.indexFromEnd(-1)); | |
403 | return true; | ||
402 | 404 | } | |
403 | 405 | }); |
js/irc/ircclient.js
(5 / 1)
  | |||
235 | 235 | this.tracker.renameNick(oldnick, newnick); | |
236 | 236 | ||
237 | 237 | var channels = this.tracker.getNick(newnick); | |
238 | var found = false; | ||
238 | 239 | ||
239 | 240 | for(var c in channels) { | |
241 | var found = true; | ||
242 | |||
240 | 243 | this.newChanLine(c, "NICK", user, {"w": newnick}); | |
241 | 244 | /* TODO: rename queries */ | |
242 | 245 | this.updateNickList(c); | |
243 | 246 | } | |
244 | 247 | ||
245 | this.newChanLine(undefined, "NICK", user, {"w": newnick}); | ||
248 | if(!found) | ||
249 | this.newChanLine(undefined, "NICK", user, {"w": newnick}); | ||
246 | 250 | }, | |
247 | 251 | channelTopic: function(user, channel, topic) { | |
248 | 252 | this.newChanLine(channel, "TOPIC", user, {"m": topic}); |