diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-26 09:38:42 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-26 09:38:42 +0000 |
commit | 74c9d7d0111e8b18ef470509f2489b707d876e3b (patch) | |
tree | b6835b1af117f25e8f4148058884b242b14243d6 /src/modules | |
parent | 3dc342af3ce9ae10011a7ac4ef752f45a1df1b48 (diff) |
- Fix some win32 warnings in a way that won't crash gcc compiles (I thought I fixed this)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7144 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_cgiirc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index c26feade3..a866d938d 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -341,7 +341,7 @@ public: CGIResolver* r = new CGIResolver(this, ServerInstance, NotifyOpers, user->password, false, user, user->GetFd(), "PASS", cached); ServerInstance->AddResolver(r, cached); } - catch (ModuleException) + catch (...) { if (NotifyOpers) ServerInstance->WriteOpers("*** Connecting user %s detected as using CGI:IRC (%s), but i could not resolve their hostname!", user->nick, user->host); @@ -400,7 +400,7 @@ public: CGIResolver* r = new CGIResolver(this, ServerInstance, NotifyOpers, newip, false, user, user->GetFd(), "IDENT", cached); ServerInstance->AddResolver(r, cached); } - catch (ModuleException) + catch (...) { strlcpy(user->host, newip, 16); strlcpy(user->dhost, newip, 16); |