]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_conn_waitpong.cpp
Forward port r9782: show IP (not unknown) for unauthed connections
[user/henk/code/inspircd.git] / src / modules / m_conn_waitpong.cpp
index 2373c8163b2d7126eeab2833b45e0585eb01ed0e..4fe71f1629dca01ec869717128ba6bc060853ffe 100644 (file)
@@ -63,7 +63,7 @@ class ModuleWaitPong : public Module
                user->Write("PING :%s", pingrpl);
                
                if(sendsnotice)
-                       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->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.c_str(), pingrpl, pingrpl);
                        
                user->Extend(extenstr, pingrpl);
                return 0;