summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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 bd6c001b3..a816f7235 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -112,7 +112,7 @@ class ModuleAlias : public Module
return 1;
}
}
- if (Aliases[i].uline)
+ if ((u != NULL) && (Aliases[i].requires != "") && (Aliases[i].uline))
{
if (!Srv->IsUlined(u->server))
{