diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_ssl_gnutls.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_watch.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index fdde010dc..d39a1cc78 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -238,7 +238,7 @@ class ModuleSSLGnuTLS : public Module void Implements(char* List) { List[I_OnRawSocketAccept] = List[I_OnRawSocketClose] = List[I_OnRawSocketRead] = List[I_OnRawSocketWrite] = List[I_OnCleanup] = 1; - List[I_OnSyncUserMetaData] = List[I_OnDecodeMetaData] = List[I_OnUnloadModule] = List[I_OnRehash] = List[I_OnWhois] = List[I_OnGlobalConnect] = 1; + List[I_OnSyncUserMetaData] = List[I_OnDecodeMetaData] = List[I_OnUnloadModule] = List[I_OnRehash] = List[I_OnWhois] = List[I_OnPostConnect] = 1; } virtual void OnRawSocketAccept(int fd, const std::string &ip, int localport) @@ -551,7 +551,7 @@ class ModuleSSLGnuTLS : public Module } } - virtual void OnGlobalConnect(userrec* user) + virtual void OnPostConnect(userrec* user) { // This occurs AFTER OnUserConnect so we can be sure the // protocol module has propogated the NICK message. diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 450d9470c..a8b50d025 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -222,7 +222,7 @@ class Modulewatch : public Module void Implements(char* List) { - List[I_OnUserQuit] = List[I_OnGlobalConnect] = List[I_OnUserPostNick] = List[I_On005Numeric] = 1; + List[I_OnUserQuit] = List[I_OnPostConnect] = List[I_OnUserPostNick] = List[I_On005Numeric] = 1; } virtual void OnUserQuit(userrec* user, const std::string &reason) @@ -257,7 +257,7 @@ class Modulewatch : public Module } } - virtual void OnGlobalConnect(userrec* user) + virtual void OnPostConnect(userrec* user) { irc::string n2 = user->nick; ServerInstance->Log(DEBUG,"*** WATCH: On global connect: user %s",user->nick); |