summary refs log tree commit diff stats
path: root/src/common/modes.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-04-03 18:51:54 -0400
committerTingPing <tingping@tingping.se>2013-04-03 18:51:54 -0400
commit496ed18e85147a167a2841e078e974e988eeb006 (patch)
tree9c71c5cd5075393b2e832d0ab85e9fe4d97363ae /src/common/modes.c
parent86cf7de430ce9d1d255ec82476aca5ffd5146dd9 (diff)
Add MONITOR support
Diffstat (limited to 'src/common/modes.c')
-rw-r--r--src/common/modes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/modes.c b/src/common/modes.c
index 419b704a..0486b532 100644
--- a/src/common/modes.c
+++ b/src/common/modes.c
@@ -776,6 +776,9 @@ inbound_005 (server * serv, char *word[])
 		} else if (strncmp (word[w], "WATCH=", 6) == 0)
 		{
 			serv->supports_watch = TRUE;
+		} else if (strncmp (word[w], "MONITOR=", 8) == 0)
+		{
+			serv->supports_monitor = TRUE;
 		} else if (strncmp (word[w], "NETWORK=", 8) == 0)
 		{
 /*			if (serv->networkname)