about summary refs log tree commit diff
path: root/src/game/server/gamecontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/gamecontext.h')
-rw-r--r--src/game/server/gamecontext.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/server/gamecontext.h b/src/game/server/gamecontext.h
index 683a1696..eb634a87 100644
--- a/src/game/server/gamecontext.h
+++ b/src/game/server/gamecontext.h
@@ -145,14 +145,15 @@ public:
 	
 	struct CMutes
 	{
-		char m_IP[NETADDR_MAXSTRSIZE];
+		char m_aIP[NETADDR_MAXSTRSIZE];
 		int m_Expires;
 	}; 
 	CMutes m_aMutes[MAX_MUTES];
 	// helper functions
-	void AddMute(const char* IP, int Secs);
-	void AddMute(int ClientID, int Secs);
-	int Muted(const char* IP);
+	void AddMute(const char* pIP, int Secs);
+	void AddMute(int ClientID, int Secs, bool Auto = false);
+	int Muted(const char *pIP);
+	int Muted(int ClientID);
 	void CleanMutes();
 
 	// network