summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-20 18:31:46 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-20 18:31:46 +0000
commitdf8cc91c963ee85cd45d6351d35f5524f7929a6a (patch)
tree87828e9dfc71af14d4e6cd87444fb94780b7593f /src/helperfuncs.cpp
parent1b063c74b4f6437059a61f42f39ea8bb725e8cd8 (diff)
Fix compilation warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12504 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 98dd1fc7f..779bc94cc 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -443,7 +443,7 @@ void GenRandomHandler::Call(char *output, size_t max)
ModResult OnCheckExemptionHandler::Call(User* user, Channel* chan, const std::string& restriction)
{
unsigned int mypfx = chan->GetPrefixValue(user);
- char minmode;
+ char minmode = 0;
std::string current;
irc::spacesepstream defaultstream(ServerInstance->Config->ConfValue("options")->getString("exemptchanops"));