HomePhabricator

strip whitespace from channel name

Description

strip whitespace from channel name

Prior to this commit, the actual channel name passed onto the client
handlers included the \r\n from the raw command. Handlers then had to
deal with inconsistent channel name formatting based on whether the
event was something like a :received or a :mentioned than if the
event was :joined or :parted. This commit strips leading and
trailing whitespace from the channel name in order to provide consistent
behavior.

Details

Provenance
jeffweiss <jeff.weiss@puppetlabs.com>Authored on Nov 24 2014, 8:52 AM
hrefPushed on Dec 15 2022, 8:05 AM
Parents
rEXIRCef082fd64813: Version 0.9.0
Branches
Unknown
Tags
Unknown

Event Timeline