1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 20:56:38 +02:00

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

This commit is contained in:
Adam
2011-11-04 17:55:14 -04:00
parent 066e5b3fc0
commit a42cafbf69
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -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;