projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
944d957
)
Fix regression on kick messages
author
Cory Chaplin
<cory.chaplin@laposte.net>
Fri, 24 Jan 2014 12:40:38 +0000
(13:40 +0100)
committer
Cory Chaplin
<cory.chaplin@laposte.net>
Fri, 24 Jan 2014 12:40:38 +0000
(13:40 +0100)
server/irc/channel.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/channel.js
b/server/irc/channel.js
index 926aedd2119065e793a13e81bc9053899f2fddf5..5aebcb068ad7ee19072afc34881612ef2f8c7918 100644
(file)
--- a/
server/irc/channel.js
+++ b/
server/irc/channel.js
@@
-84,18
+84,20
@@
function onPart(event) {
function onKick(event) {
+ var that = this;
+
global.modules.emit('irc channel kick', {
channel: this,
connection: this.irc_connection,
irc_event: event
})
.done(function() {
- th
is
.irc_connection.clientEvent('kick', {
+ th
at
.irc_connection.clientEvent('kick', {
kicked: event.kicked, // Nick of the kicked
nick: event.nick, // Nick of the kicker
ident: event.ident,
hostname: event.hostname,
- channel: th
is
.name,
+ channel: th
at
.name,
message: event.message,
time: event.time
});