summaryrefslogtreecommitdiff
path: root/modules/m_webirc.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-10-27 18:59:49 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-10-27 18:59:49 +0000
commit1f1769a3332d003f47460478d1d6061d4802fa64 (patch)
tree53b0909005888d7f0a62f61f311955716ff05d31 /modules/m_webirc.c
parente671d82d066063c5c7b02169b5617c58361bf42c (diff)
- Added usermode +W. Users connected via a webirc gateway get this
mode set by servers. - /WHOIS now shows whether a client is connected via a webirc gateway git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2512 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_webirc.c')
-rw-r--r--modules/m_webirc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/m_webirc.c b/modules/m_webirc.c
index 2aa710a..1fbe4c6 100644
--- a/modules/m_webirc.c
+++ b/modules/m_webirc.c
@@ -149,6 +149,7 @@ mr_webirc(struct Client *client_p, struct Client *source_p, int parc, char *parv
}
}
+ AddUMode(source_p, UMODE_WEBIRC);
sendto_one(source_p, ":%s NOTICE %s :CGI:IRC host/IP set to %s %s", me.name,
source_p->name[0] ? source_p->name : "*", parv[3], parv[4]);
}