diff tests/cmd-rule-add/main.cpp @ 574:18e80ec38ac7

Irccd: get rid of user/channel separation, closes #734 Do not make separate events on messages, notices and modes. This was currently added because the original libircclient made these distinctions between the both. In the IRC specification, the channel represents both a nickname and a real channel. Delete: - onChannelMode, - onChannelNotice, - onQuery, - onQueryCommand. Add: - Server.isSelf(target).
author David Demelier <markand@malikania.fr>
date Wed, 29 Nov 2017 14:44:36 +0100
parents 23fc81b1bd8f
children
line wrap: on
line diff
--- a/tests/cmd-rule-add/main.cpp	Wed Nov 29 09:48:40 2017 +0100
+++ b/tests/cmd-rule-add/main.cpp	Wed Nov 29 14:44:36 2017 +0100
@@ -187,7 +187,7 @@
         { "command",    "rule-add"  },
         { "action",     "unknown"   }
     });
-    ctl_->recv([&] (auto code, auto msg) {
+    ctl_->recv([&] (auto code, auto) {
         result = code;
     });