diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-02 22:11:14 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-02 22:11:14 +0000 |
commit | 5870145ac255da65f5bf4ff0fae4715cbb930ec9 (patch) | |
tree | 91684986ad437786fe85ba6a18973c62ebd3b02a /src/modules/m_alias.cpp | |
parent | ef960ee420460e437b49e8085c3f1158c60752b9 (diff) |
This needs some general QA-ing. Add support to new parser (introduced in 1.1) for empty final params (just the colon)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6731 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_alias.cpp')
-rw-r--r-- | src/modules/m_alias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 858a7883d..3893ad5bf 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -255,7 +255,7 @@ class ModuleAlias : public Module const char* parv[127]; int x = 0; - while ((pars[x] = ss.GetToken()) != "") + while (ss.GetToken(pars[x])) { parv[x] = pars[x].c_str(); x++; |