summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 21:02:07 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 21:02:07 +0000
commit244d5df202b082946afd59f89054fc4849c19e3e (patch)
tree26060f0c6b71f1b9472fb5fbd15ee5acc88bddae /src
parent18ff73f52b97764a65764209511ed80dabf6f8bb (diff)
- Fix two minor warnings here (catch (ModuleException& e) -> catch (ModuleException), as we're not actually using e). Noted on w32, compiles ok, stab me if it breaks linux (I don't think it will.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7121 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_cgiirc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 0ec98ed79..c26feade3 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& e)
+ catch (ModuleException)
{
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& e)
+ catch (ModuleException)
{
strlcpy(user->host, newip, 16);
strlcpy(user->dhost, newip, 16);