mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:48:12 +00:00
IRCClient: Process incoming NOTICE messages like PRIVMSG.
They should be handled slightly differently, but at least now we're doing *something* withthem.
This commit is contained in:
parent
d9d13f2445
commit
9a7b638743
2 changed files with 15 additions and 4 deletions
|
@ -87,6 +87,11 @@ private:
|
|||
Vector<String> arguments;
|
||||
};
|
||||
|
||||
enum class PrivmsgOrNotice {
|
||||
Privmsg,
|
||||
Notice,
|
||||
};
|
||||
|
||||
void receive_from_server();
|
||||
void send(const String&);
|
||||
void send_user();
|
||||
|
@ -109,7 +114,7 @@ private:
|
|||
void handle_rpl_topicwhotime(const Message&);
|
||||
void handle_rpl_endofnames(const Message&);
|
||||
void handle_rpl_namreply(const Message&);
|
||||
void handle_privmsg(const Message&);
|
||||
void handle_privmsg_or_notice(const Message&, PrivmsgOrNotice);
|
||||
void handle_nick(const Message&);
|
||||
void handle(const Message&);
|
||||
void handle_user_command(const String&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue