summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/IRCClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/IRCClient/IRCClient.h')
-rw-r--r--Applications/IRCClient/IRCClient.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Applications/IRCClient/IRCClient.h b/Applications/IRCClient/IRCClient.h
index e72b7cfc7a..f276b22c73 100644
--- a/Applications/IRCClient/IRCClient.h
+++ b/Applications/IRCClient/IRCClient.h
@@ -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&);