]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_clearchan.cpp
Fix Windows build and most MSVC warnings
[user/henk/code/inspircd.git] / src / modules / m_clearchan.cpp
index 5fcec36f1777d9567a7dc8d9b9d2a41fe97d665d..4142f81d1709c01864a764b503036966eb964b32 100644 (file)
@@ -119,7 +119,7 @@ class CommandClearChan : public Command
                                        mask = ((method[0] == 'Z') ? curr->GetIPString() : "*@" + curr->host);
                                        xline = xlf->Generate(ServerInstance->Time(), 60*60, user->nick, reason, mask);
                                }
-                               catch (ModuleException& ex)
+                               catch (ModuleException&)
                                {
                                        // Nothing, move on to the next user
                                        continue;