diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-02-28 18:48:58 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-02-28 18:48:58 +0100 |
commit | 74377ece178e661194a40fa79238b3089bb0d0f2 (patch) | |
tree | a1313c5518c5304b90396ef6ed3c04088e8fefe0 /plugins/quit.cpp | |
parent | d26ab5f2338aaf07289dd57c7770f85a79cf7b2b (diff) |
Cleaned up unneeded files, some bugfixes
ismaster/isuser now gets called with origin_raw
Diffstat (limited to 'plugins/quit.cpp')
-rw-r--r-- | plugins/quit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/quit.cpp b/plugins/quit.cpp index 9bb410d..71c2a3c 100644 --- a/plugins/quit.cpp +++ b/plugins/quit.cpp @@ -18,7 +18,7 @@ extern "C" void plugin (plugincontext* context, ircmessage msg, TPluginParentLig { if (reason&PFLAGS_EXEC_ONDEMAND) if (ucase(msg.command)=="PRIVMSG") - if (parent->get_parent()->ismaster(msg.origin)) + if (parent->get_parent()->ismaster(msg.origin_raw)) parent->get_parent()->quit(msg.origin+" told me to quit. cya!"); //parent->get_parent()->send (msg.content.substr(6)+NEWLINE); } |