1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 17:36:37 +02:00

Fixed this back now unreal sends 0 for non logged in users

This commit is contained in:
Adam
2011-12-28 12:49:04 -05:00
parent a4bf770a49
commit f1b05acf26
+8 -4
View File
@@ -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]);
}