mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 03:23:12 +02:00
- Fixed a compile problem on alpha, reported by Hyperi (#0001374).
- Made "operator count bug" not notice all opers (log only), unless in debugmode.
This commit is contained in:
@@ -2589,3 +2589,5 @@ seen. gmtime warning still there
|
||||
- Made /rehash reread botmotd and opermotd (#0001291).
|
||||
- Made OperOverride work for chanmode +Q (#0001370).
|
||||
- A few example.conf changes.
|
||||
- Fixed a compile problem on alpha, reported by Hyperi (#0001374).
|
||||
- Made "operator count bug" not notice all opers (log only), unless in debugmode.
|
||||
|
||||
@@ -729,7 +729,9 @@ char text[2048];
|
||||
"please report to UnrealIRCd team at http://bugs.unrealircd.org/",
|
||||
IRCstats.operators, counted, orig->name ? orig->name : "<null>",
|
||||
orig->srvptr ? orig->srvptr->name : "<null>", tag ? tag : "<null>");
|
||||
#ifdef DEBUGMODE
|
||||
sendto_realops("%s", text);
|
||||
#endif
|
||||
ircd_log(LOG_ERROR, "%s", text);
|
||||
IRCstats.operators = counted;
|
||||
}
|
||||
|
||||
+1
-1
@@ -897,7 +897,7 @@ int stats_mem(aClient *sptr, char *para)
|
||||
#if !defined(_WIN32) && !defined(_AMIGA)
|
||||
#ifdef __alpha
|
||||
sendto_one(sptr, ":%s %d %s :TOTAL: %d sbrk(0)-etext: %u",
|
||||
me.name, RPL_STATSDEBUG, nick, tot,
|
||||
me.name, RPL_STATSDEBUG, sptr->name, tot,
|
||||
(u_int)sbrk((size_t)0) - (u_int)sbrk0);
|
||||
#else
|
||||
sendto_one(sptr, ":%s %d %s :TOTAL: %ld sbrk(0)-etext: %lu",
|
||||
|
||||
Reference in New Issue
Block a user