summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index e4abefce3..bd75d5635 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -529,12 +529,14 @@ class Unreal32IRCdMessage : public IRCdMessage
{
NickAlias *na = NULL;
- if (params[6].is_pos_number_only())
+ if (params[6] == "0")
+ ;
+ else if (params[6].is_pos_number_only())
{
if (convertTo<time_t>(params[6]) == user->timestamp)
na = findnick(user->nick);
}
- else if (params[6] != "*")
+ else
{
na = findnick(params[6]);
}
@@ -561,12 +563,14 @@ class Unreal32IRCdMessage : public IRCdMessage
{
NickAlias *na = NULL;
- if (params[6].is_pos_number_only())
+ if (params[6] == "0")
+ ;
+ else if (params[6].is_pos_number_only())
{
if (convertTo<time_t>(params[6]) == user->timestamp)
na = findnick(user->nick);
}
- else if (params[6] != "*")
+ else
{
na = findnick(params[6]);
}