mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-05 03:33:13 +02:00
Index: Changes
=================================================================== RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v retrieving revision 1.1.1.1.2.1.2.1.2.2393 diff -u -r1.1.1.1.2.1.2.1.2.2393 Changes --- Changes 13 May 2007 16:02:53 -0000 1.1.1.1.2.1.2.1.2.2393 +++ Changes 13 May 2007 16:48:33 -0000 @@ -1664,4 +1664,5 @@ - #0003333 reported by fbi, regarding a unreferenced and duplicate m_botmotd in core and modules - A bug was introduced in the patch for #0003139. Patched by WolfSage - +- #0002533 reported by Dodge_Ram, patched by WolfSage, regarding notices + not being sent when /*line and /shun are used to request stats
This commit is contained in:
@@ -1664,4 +1664,5 @@ MOTDs
|
||||
- #0003333 reported by fbi, regarding a unreferenced and duplicate
|
||||
m_botmotd in core and modules
|
||||
- A bug was introduced in the patch for #0003139. Patched by WolfSage
|
||||
|
||||
- #0002533 reported by Dodge_Ram, patched by WolfSage, regarding notices
|
||||
not being sent when /*line and /shun are used to request stats
|
||||
|
||||
@@ -208,6 +208,8 @@ DLLFUNC int m_gline(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
tkl_stats(sptr, TKL_KILL|TKL_GLOBAL, NULL);
|
||||
tkl_stats(sptr, TKL_ZAP|TKL_GLOBAL, NULL);
|
||||
sendto_one(sptr, rpl_str(RPL_ENDOFSTATS), me.name, sptr->name, 'g');
|
||||
sendto_snomask(SNO_EYES, "Stats \'g\' requested by %s (%s@%s)",
|
||||
sptr->name, sptr->user->username, GetHost(sptr));
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -232,6 +234,8 @@ DLLFUNC int m_gzline(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
tkl_stats(sptr, TKL_GLOBAL|TKL_KILL, NULL);
|
||||
tkl_stats(sptr, TKL_GLOBAL|TKL_ZAP, NULL);
|
||||
sendto_one(sptr, rpl_str(RPL_ENDOFSTATS), me.name, sptr->name, 'g');
|
||||
sendto_snomask(SNO_EYES, "Stats \'g\' requested by %s (%s@%s)",
|
||||
sptr->name, sptr->user->username, GetHost(sptr));
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -255,6 +259,8 @@ DLLFUNC int m_shun(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
{
|
||||
tkl_stats(sptr, TKL_GLOBAL|TKL_SHUN, NULL);
|
||||
sendto_one(sptr, rpl_str(RPL_ENDOFSTATS), me.name, sptr->name, 's');
|
||||
sendto_snomask(SNO_EYES, "Stats \'s\' requested by %s (%s@%s)",
|
||||
sptr->name, sptr->user->username, GetHost(sptr));
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -386,6 +392,8 @@ DLLFUNC int m_tkline(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
me.name, sptr->name, "E", excepts->mask, "");
|
||||
}
|
||||
sendto_one(sptr, rpl_str(RPL_ENDOFSTATS), me.name, sptr->name, 'k');
|
||||
sendto_snomask(SNO_EYES, "Stats \'k\' requested by %s (%s@%s)",
|
||||
sptr->name, sptr->user->username, GetHost(sptr));
|
||||
return 0;
|
||||
}
|
||||
if (!OPCanUnKline(sptr) && *parv[1] == '-')
|
||||
@@ -447,6 +455,8 @@ DLLFUNC int m_tzline(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
me.name, sptr->name, "E", excepts->mask, "");
|
||||
}
|
||||
sendto_one(sptr, rpl_str(RPL_ENDOFSTATS), me.name, sptr->name, 'k');
|
||||
sendto_snomask(SNO_EYES, "Stats \'k\' requested by %s (%s@%s)",
|
||||
sptr->name, sptr->user->username, GetHost(sptr));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user