From 9f40c69ca062be39abecc06870824332da558c25 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 30 Apr 2004 14:40:20 +0000 Subject: Added oper classes and types (done through the planned privilage system on a per-command basis) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@756 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index a9bf10699..c280d0699 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1337,6 +1337,7 @@ void handle_oper(char **parameters, int pcnt, userrec *user) /* found this oper's opertype */ ConfValue("type","host",j,Hostname,&config_f); ChangeDisplayedHost(user,Hostname); + strncpy(user->oper,TypeName,NICKMAX); } } if (!strchr(user->modes,'o')) -- cgit v1.2.3