diff options
Diffstat (limited to 'src/modules/m_conn_waitpong.cpp')
-rw-r--r-- | src/modules/m_conn_waitpong.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp index d89030ff9..ecda7cd0c 100644 --- a/src/modules/m_conn_waitpong.cpp +++ b/src/modules/m_conn_waitpong.cpp @@ -68,10 +68,10 @@ class ModuleWaitPong : public Module { char* pingrpl = RandString(10); - Write(user->fd, "PING :%s", pingrpl); + user->Write("PING :%s", pingrpl); if(sendsnotice) - WriteServ(user->fd, "NOTICE %s :*** If you are having problems connecting due to ping timeouts, please type /quote PONG %s or /raw PONG %s now.", user->nick, pingrpl, pingrpl); + user->WriteServ("NOTICE %s :*** If you are having problems connecting due to ping timeouts, please type /quote PONG %s or /raw PONG %s now.", user->nick, pingrpl, pingrpl); user->Extend("waitpong_pingstr", pingrpl); } |