projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a938bce
)
Channel case-sensitivity issues. Main cause of "Cannot call method 'clientEvent'...
author
Darren
<darren@darrenwhitlen.com>
Fri, 28 Mar 2014 15:49:56 +0000
(15:49 +0000)
committer
Darren
<darren@darrenwhitlen.com>
Fri, 28 Mar 2014 15:49:56 +0000
(15:49 +0000)
server/irc/channel.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/channel.js
b/server/irc/channel.js
index 5aebcb068ad7ee19072afc34881612ef2f8c7918..2226828a0372d1a49b44b3946af723867929330c 100644
(file)
--- a/
server/irc/channel.js
+++ b/
server/irc/channel.js
@@
-4,7
+4,9
@@
var util = require('util'),
var IrcChannel = function(irc_connection, name) {
this.irc_connection = irc_connection;
- this.name = name;
+
+ // Lowercase the channel name so we don't run into case-sensitive issues
+ this.name = name.toLowerCase();
this.members = [];
this.ban_list_buffer = [];