fixed coding fails in the last 2 commits
[srvx.git] / src / chanserv.c
index 771b6169f462c676c2ae0d1dd3fed6408c001c00..37d6531e5485dddb19db96586324777941a140fb 100644 (file)
@@ -3287,7 +3287,7 @@ static CHANSERV_FUNC(cmd_opme)
         return 0;
     }
 
-    if(devnull_user_has_priv(user->handle_info, DEVNULL_MODE_OPME))
+    if(devnull_user_has_priv(user->handle_info, DEVNULL_PRIV_OPME))
     {
         change.args[0].mode = MODE_CHANOP;
         errmsg = "CSMSG_ALREADY_OPPED";