summaryrefslogtreecommitdiff
path: root/src/commands/cmd_whois.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-13 17:52:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-13 17:52:11 +0000
commitb22124cbc3f4fb365a743cd5d5bb76223e48eeed (patch)
tree6edb76beca1bd2a3af068162ea91858aa2c2b6c9 /src/commands/cmd_whois.cpp
parentbbac74618ea4bef9924672ebad31245de25601d1 (diff)
Win32 compilation fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9904 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_whois.cpp')
-rw-r--r--src/commands/cmd_whois.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/cmd_whois.cpp b/src/commands/cmd_whois.cpp
index 8afc23525..29264348c 100644
--- a/src/commands/cmd_whois.cpp
+++ b/src/commands/cmd_whois.cpp
@@ -137,7 +137,7 @@ CmdResult CommandWhois::Handle (const std::vector<std::string>& parameters, User
*/
if (IS_LOCAL(dest) && (!*ServerInstance->Config->HideWhoisServer || parameters.size() > 1))
{
- idle = abs((dest->idle_lastmsg)-ServerInstance->Time());
+ idle = abs((long)((dest->idle_lastmsg)-ServerInstance->Time()));
signon = dest->signon;
}
@@ -154,3 +154,4 @@ CmdResult CommandWhois::Handle (const std::vector<std::string>& parameters, User
return CMD_SUCCESS;
}
+