martynsmith/node-irc — pull request #145 by Acubed (2013-02-02 19:46:01+00:00)
Title: Use CHANMODES when modifying channel modes

This commit enhances how channel modes are set, and should be free of any TypeError errors. It also creates a new Function Channels since that's the most efficient way of creating multiple Objects with the same properties, and adds a method to set that channel's mode, emitting events as necessary if there is an associated message to emit with.