summaryrefslogtreecommitdiff
path: root/src/cmd_whowas.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-07 19:18:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-07 19:18:46 +0000
commit990c9795ef193df913325558b18d1535109bc23e (patch)
tree43e340cff2647766d038289fa676f6da2b4adb65 /src/cmd_whowas.cpp
parent2bb1208eae529c1e87005626405e9dee86754077 (diff)
Whois typo fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3525 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_whowas.cpp')
-rw-r--r--src/cmd_whowas.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd_whowas.cpp b/src/cmd_whowas.cpp
index b710b5a08..e1c783f00 100644
--- a/src/cmd_whowas.cpp
+++ b/src/cmd_whowas.cpp
@@ -73,11 +73,12 @@ void cmd_whowas::Handle (char **parameters, int pcnt, userrec* user)
}
else
{
- whowas_set* grp = (whowas_set*)i;
+ whowas_set* grp = (whowas_set*)i->second;
if (grp->size())
{
- for (whowas_set::iterator u = grp->begin(); u != grp->end(); u++)
+ for (whowas_set::iterator ux = grp->begin(); ux != grp->end(); ux++)
{
+ WhoWasGroup* u = (WhoWasGroup*)*ux;
time_t rawtime = u->signon;
tm *timeinfo;
char b[MAXBUF];