summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-03-07 19:54:51 -0500
committerAdam <Adam@anope.org>2011-03-07 19:54:51 -0500
commit8eb23e7d489239e8af79c2d6da587cd1c3a81b5d (patch)
tree04bf54ceb46a4b18345cf4e01d8aeb11ccd52c07 /src/main.cpp
parent093b3d258e7b14d2aa057ca6113de034b5063efe (diff)
Added support for extbans
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 563262195..eea96dee9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -491,7 +491,8 @@ int main(int ac, char **av, char **envp)
threadEngine.Process();
/* Process any modes that need to be (un)set */
- ModeManager::ProcessModes();
+ if (Me != NULL && Me->IsSynced())
+ ModeManager::ProcessModes();
/* Process the socket engine */
SocketEngine->Process();