projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
c140137
ef51a5d
)
Merge branch 'ctcp-fix' of https://github.com/TimPeterson/KiwiIRC into TimPeterson...
author
Darren
<darren@darrenwhitlen.com>
Tue, 10 Sep 2013 16:11:04 +0000
(17:11 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Tue, 10 Sep 2013 16:11:04 +0000
(17:11 +0100)
1
2
server/irc/commands.js
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
server/irc/commands.js
index e8c08ea01e2da3f60236faf02f0960324d640298,a08f9d98f41d28befe54b0b55c1867ab456ec3b5..4778c9eeac55dc2777715b96c112615cdf93ceda
---
1
/
server/irc/commands.js
---
2
/
server/irc/commands.js
+++ b/
server/irc/commands.js
@@@
-396,10
-396,10
+396,10
@@@
handlers =
ident: command.ident,
hostname: command.hostname,
channel: command.params[0],
- msg: command.trailing.substr
(1, command.trailing.length - 2
)
+ msg: command.trailing.substr
ing(1, command.trailing.length - 1
)
});
} else {
- namespace = (command.params[0]
== this.irc_connection.nick
|| command.params[0] == '*') ?
+ namespace = (command.params[0]
.toLowerCase() == this.irc_connection.nick.toLowerCase()
|| command.params[0] == '*') ?
'user' :
'channel';