AGR FTE mychanges.patch

[code]
Index: server/sv_ccmds.c
===================================================================
— server/sv_ccmds.c (revision 6306)
+++ server/sv_ccmds.c (working copy)
@@ -1310,7 +1310,7 @@
if (((penalties|delta) & (BAN_MUTE|BAN_DEAF)) == (BAN_MUTE|BAN_DEAF))
delta &= ~(BAN_MUTE|BAN_DEAF);

– if (penalties & BAN_STEALTH)
+ if (delta & BAN_STEALTH)
delta = 0; //don’t announce ANY.

if (cl->controller)
Index: server/sv_main.c
===================================================================
— server/sv_main.c (revision 6306)
+++ server/sv_main.c (working copy)
@@ -1169,6 +1169,11 @@
skin = InfoBuf_ValueForKey (&cl->userinfo, "skin");
team = InfoBuf_ValueForKey (&cl->userinfo, "team");

+ int standby = atoi(InfoBuf_ValueForKey (&cl->userinfo, " standbymode"));
+ // OMC EDIT
+ if(standby)
+ botpre = "Standby:";
+ else
if (!cl->state || cl->protocol == SCP_BAD) //show b ots differently. Just to be courteous.
botpre = "BOT:";
else
[/code]

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>