diff options
author | Adam <Adam@anope.org> | 2011-11-04 17:55:14 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-11-04 17:55:14 -0400 |
commit | a42cafbf69ac2753cb891f87664d1218b00a1bcf (patch) | |
tree | 039c2cfb75d96adce264cb9647ba7699c865d9cf /modules/commands/os_session.cpp | |
parent | 066e5b3fc08b6b85311e29aad6e78f12aba1a30e (diff) |
Store flags for memos, fixed the expiring very soon message, fixed /os session view when a session exception is added at a lower limit than th default
Diffstat (limited to 'modules/commands/os_session.cpp')
-rw-r--r-- | modules/commands/os_session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_session.cpp b/modules/commands/os_session.cpp index edaf841d5..752fe8729 100644 --- a/modules/commands/os_session.cpp +++ b/modules/commands/os_session.cpp @@ -258,7 +258,7 @@ class CommandOSSession : public Command else { Exception *exception = session_service->FindException(param); - source.Reply(_("The host \002%s\002 currently has \002%d\002 sessions with a limit of \002%d\002."), param.c_str(), session->count, exception ? exception-> limit : Config->DefSessionLimit); + source.Reply(_("The host \002%s\002 currently has \002%d\002 sessions with a limit of \002%d\002."), param.c_str(), session->count, exception && exception->limit > Config->DefSessionLimit ? exception->limit : Config->DefSessionLimit); } return; |