summaryrefslogtreecommitdiff
path: root/src/modules/m_alltime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_alltime.cpp')
-rw-r--r--src/modules/m_alltime.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp
index 75ed4f355..c65a05c59 100644
--- a/src/modules/m_alltime.cpp
+++ b/src/modules/m_alltime.cpp
@@ -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! */