From 0e74a337265b2e8384f75deab816ae92f532ff08 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 3 May 2004 13:04:48 +0000 Subject: Added opertype propogation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@788 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4250bdc75..018bdf133 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2953,6 +2953,11 @@ void DoSync(serverrec* serv, char* tcp_host) { snprintf(data,MAXBUF,"N %d %s %s %s %s +%s %s %s :%s",u->second->age,u->second->nick,u->second->host,u->second->dhost,u->second->ident,u->second->modes,u->second->ip,u->second->server,u->second->fullname); serv->SendPacket(data,tcp_host); + if (strchr(u->second->modes,'o')) + { + snprintf(data,MAXBUF,"| %s %s",u->second->nick,u->second->oper); + serv->SendPacket(data,tcp_host); + } for (int i = 0; i <= MODCOUNT; i++) { string_list l = modules[i]->OnUserSync(u->second); -- cgit v1.2.3