diff options
| author | 2007-10-23 20:47:06 +0000 | |
|---|---|---|
| committer | 2007-10-23 20:47:06 +0000 | |
| commit | 0e7fabc4b1dc907dfe9be70d5cf03be3ec03f5aa (patch) | |
| tree | 9f54575ff49c06ebe70e73ff890bb7d715e4961d /src/modules/m_auditorium.cpp | |
| parent | All the core is now pedantic safe! (diff) | |
| download | inspircd++-0e7fabc4b1dc907dfe9be70d5cf03be3ec03f5aa.tar.gz inspircd++-0e7fabc4b1dc907dfe9be70d5cf03be3ec03f5aa.tar.bz2 inspircd++-0e7fabc4b1dc907dfe9be70d5cf03be3ec03f5aa.zip | |
Some AddMode fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8320 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_auditorium.cpp')
| -rw-r--r-- | src/modules/m_auditorium.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp index b91538ace..a686d7444 100644 --- a/src/modules/m_auditorium.cpp +++ b/src/modules/m_auditorium.cpp @@ -54,7 +54,7 @@ class ModuleAuditorium : public Module : Module(Me) { aum = new AuditoriumMode(ServerInstance); - if (!ServerInstance->AddMode(aum, 'u')) + if (!ServerInstance->AddMode(aum)) throw ModuleException("Could not add new modes!"); OnRehash(NULL, ""); } |
