summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-06 22:18:38 -0400
committerAdam <Adam@anope.org>2013-05-06 22:18:38 -0400
commit6578829fa6d278cae0307676f29ab4e76d2d2518 (patch)
tree48b177005721b02b95a815f72cac0363a3bf00e0 /src/config.cpp
parentef06226521d27de88a49a84d8224568fec7624c3 (diff)
Use I_OnUserQuit for os_session because I_OnPreUserLogoff gets called too late, after the users server can be gone. Fix a couple other small things
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp
index e2243b236..46ad48d43 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -237,7 +237,7 @@ Conf::Conf() : Block("")
ot->AddCommand(str);
spacesepstream privstr(privs);
- for (Anope::string str; cmdstr.GetToken(str);)
+ for (Anope::string str; privstr.GetToken(str);)
ot->AddPriv(str);
commasepstream inheritstr(inherits);