Skip to content

Commit

Permalink
- Fix some win32 warnings in a way that won't crash gcc compiles (I t…
Browse files Browse the repository at this point in the history
…hought I fixed this)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7144 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
rburchell committed May 26, 2007
1 parent 3dc342a commit 74c9d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/m_cgiirc.cpp
Expand Up @@ -341,7 +341,7 @@ class ModuleCgiIRC : public Module
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);
Expand Down Expand Up @@ -400,7 +400,7 @@ class ModuleCgiIRC : public Module
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);
Expand Down

0 comments on commit 74c9d7d

Please sign in to comment.