]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_alltime.cpp
add a couple of parenthesis to the password comparison, because i couldnt easily...
[user/henk/code/inspircd.git] / src / modules / m_alltime.cpp
index 75ed4f35560cf6327d28f797dacd78c5d3a2fa9c..c65a05c5998af8cc064caaa1d3acc22deb2ddf32 100644 (file)
@@ -40,11 +40,7 @@ class CommandAlltime : public Command
                }
                else
                {
-                       std::deque<std::string> params;
-                       params.push_back(user->nick);
-                       params.push_back(msg);
-                       Event ev((char *) &params, NULL, "send_push");
-                       ev.Send(ServerInstance);
+                       ServerInstance->PI->PushToClient(user, msg);
                }
 
                /* we want this routed out! */