Created
July 5, 2013 22:33
-
-
Save prawnsalad/5937653 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Build up an object of symbols here from prefixes.. | |
var symbols = {'~': '~', '@': '@'}; | |
if (that.irc_connection.options.PREFIX) { | |
for (i = 0; i < member.length; i++) { | |
if (symbols[member.charAt(i)]) { | |
modes.push(symbols[member.charAt(i)]); | |
} else { | |
return; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment