:point_right: Show current topic of channel #42
TOPIC #42
:point_right: Set a new topic of channel #42 to "new topic"
< HexChat > TOPIC #42 new topic (withot colon) --> HexChat adds a colon
< netcat > TOPIC #42 :new topic (with colon)
:point_right: Unset a topic of channel #42
TOPIC #42 :
:loud_sound: Channel name and topic are separated by space.
:loud_sound: For parsing complexity reason, all extra colons at the beginning of the topic are ignored in our server.
Other minor fix & update
Server class
All functions used only in Server class are set to private.
Config class
Add STATUSMSG which was missing to keyToString() function.
Channel class
Update function's name from findChannel() to channelExists().
TOPIC command
Supported command formats:
:point_right: Show current topic of channel #42
TOPIC #42
:point_right: Set a new topic of channel #42 to "new topic"
TOPIC #42 new topic
(withot colon) --> HexChat adds a colonTOPIC #42 :new topic
(with colon):point_right: Unset a topic of channel #42
TOPIC #42 :
:loud_sound: Channel name and topic are separated by space. :loud_sound: For parsing complexity reason, all extra colons at the beginning of the topic are ignored in our server.
Other minor fix & update
Server class
All functions used only in Server class are set to private.
Config class
Add
STATUSMSG
which was missing tokeyToString()
function.Channel class
Update function's name from
findChannel()
tochannelExists()
.