From 91e2256377d4acdb47ef99d8ab6a20caab8873bb Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Thu, 15 Mar 2012 01:09:32 +0700 Subject: [PATCH] Clarify that only admins can load shell module. So many people think that anyone can load it, just because they see it in the list... --- modules/shell.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/shell.cpp b/modules/shell.cpp index 487f3f09..c6077491 100644 --- a/modules/shell.cpp +++ b/modules/shell.cpp @@ -127,5 +127,8 @@ void CShellSock::Disconnected() { m_pParent->SetClient(NULL); } +#ifdef MOD_SHELL_ALLOW_EVERYONE USERMODULEDEFS(CShellMod, "Gives shell access") - +#else +USERMODULEDEFS(CShellMod, "Gives shell access. Only ZNC admins can use it.") +#endif