summaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_alias.cpp')
-rw-r--r--src/modules/m_alias.cpp2
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++;