diff options
| author | 2019-02-17 15:58:31 +0100 | |
|---|---|---|
| committer | 2019-02-18 09:15:56 +0000 | |
| commit | 21e7efdadfa685ac1ddcb0a0a515502bc873302b (patch) | |
| tree | 885e629a2eb4e60cc308e4f97668c5db2f718cf0 /src/modules/m_callerid.cpp | |
| parent | Fix an off-by-one error in User::GetModeLetters(). (diff) | |
| download | inspircd++-21e7efdadfa685ac1ddcb0a0a515502bc873302b.tar.gz inspircd++-21e7efdadfa685ac1ddcb0a0a515502bc873302b.tar.bz2 inspircd++-21e7efdadfa685ac1ddcb0a0a515502bc873302b.zip | |
Various text improvements: consistency, syntax, help and doc updates/fixes.
Diffstat (limited to 'src/modules/m_callerid.cpp')
| -rw-r--r-- | src/modules/m_callerid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 3810fcf32..49143034f 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -179,7 +179,7 @@ public: extInfo(Creator) { allow_empty_last_param = false; - syntax = "*|(+|-)<nick>[,(+|-)<nick> ...]"; + syntax = "*|(+|-)<nick>[,(+|-)<nick>]+"; TRANSLATE1(TR_CUSTOM); } @@ -189,7 +189,7 @@ public: if (parameter.find(',') != std::string::npos) return; - // Convert a [+|-]<nick> into a [-]<uuid> + // Convert a (+|-)<nick> into a [-]<uuid> ACCEPTAction action = GetTargetAndAction(parameter); if (!action.first) return; |
