Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Update] ScaryNet ircd  (Read 25155 times)

0 Members and 1 Guest are viewing this topic.

Alexander Maassen

  • Anope User
  • Offline Offline
  • Posts: 4
[Update] ScaryNet ircd
« on: April 11, 2012, 04:46:23 PM »

diff --git a/sql/scarynet.sql b/sql/scarynet.sql
index 63093cf..9532a10 100644
--- a/sql/scarynet.sql
+++ b/sql/scarynet.sql
@@ -18,7 +18,6 @@ ADD `mode_uc` enum('Y','N') NOT NULL default 'N',
 ADD `mode_ud` enum('Y','N') NOT NULL default 'N',
 ADD `mode_un` enum('Y','N') NOT NULL default 'N',
 ADD `mode_uo` enum('Y','N') NOT NULL default 'N',
-ADD `mode_ut` enum('Y','N') NOT NULL default 'N',

 ADD `mode_lk_data` varchar(23) NOT NULL default '',
 ADD `mode_ll_data` int(10) NOT NULL default '0';
@@ -40,6 +39,5 @@ ADD `mode_uc` enum('Y','N') NOT NULL default 'N',
 ADD `mode_uh` enum('Y','N') NOT NULL default 'N',
 ADD `mode_uo` enum('Y','N') NOT NULL default 'N',
 ADD `mode_ur` enum('Y','N') NOT NULL default 'N',
-ADD `mode_ut` enum('Y','N') NOT NULL default 'N',
 ADD `mode_uw` enum('Y','N') NOT NULL default 'N';

@@ -134,5 +144,5 @@ elif [ "$1" = "help" ] ; then

 else
        echo "Denora Remote Control ($DRCVERSION)"
-       echo "Usage: $0 [start|stop|status|restart|rehash|version|help]"
+       echo "Usage: $0 [start|stop|status|restart|rehash|cron|version|help]"
 fi
diff --git a/src/protocol/scarynet.c b/src/protocol/scarynet.c
index f3a4323..4f7a3c3 100644
--- a/src/protocol/scarynet.c
+++ b/src/protocol/scarynet.c
@@ -40,7 +40,7 @@ IRCDVar myIrcd[] = {
      IRCD_DISABLE,              /* We support TOKENS         */
      IRCD_DISABLE,              /* TOKENS are CASE Sensitive */
      IRCD_DISABLE,              /* TIME STAMPS are BASE64    */
-     IRCD_ENABLE,               /* +I support                */
+     IRCD_DISABLE,               /* +I support                */
      IRCD_DISABLE,              /* SJOIN ban char            */
      IRCD_DISABLE,              /* SJOIN except char         */
      IRCD_DISABLE,              /* SJOIN invite char         */
@@ -133,19 +133,16 @@ void IRCDModeInit(void)
     ModuleSetUserMode(UMODE_H, IRCD_ENABLE);    /* Oper Help */
     ModuleSetUserMode(UMODE_O, IRCD_ENABLE);    /* Global Operator */
     ModuleSetUserMode(UMODE_R, IRCD_ENABLE);    /* Registered Only */
-    ModuleSetUserMode(UMODE_T, IRCD_ENABLE);    /* TOR User */
-    ModuleSetUserMode(UMODE_W, IRCD_ENABLE);    /* CGI User */
+    ModuleSetUserMode(UMODE_W, IRCD_ENABLE);    /* WebIRC User */
     ModuleUpdateSQLUserMode();

     /* Channel List Modes */
     CreateChanBanMode(CMODE_b, add_ban, del_ban);       /* Ban */
-    CreateChanBanMode(CMODE_I, add_invite, del_invite); /* Permanent Invites */

     /* Channel Modes */
     CreateChanMode(CMODE_C, NULL, NULL);        /* No CTCP */
     CreateChanMode(CMODE_D, NULL, NULL);        /* Delayed Join */
     CreateChanMode(CMODE_O, NULL, NULL);        /* Oper Only */
-    CreateChanMode(CMODE_T, NULL, NULL);        /* No TOR users */
     CreateChanMode(CMODE_N, NULL, NULL);        /* No Notices */
     CreateChanMode(CMODE_c, NULL, NULL);        /* No Colours */
     CreateChanMode(CMODE_i, NULL, NULL);        /* Invite Only */
Logged
Pages: [1]   Go Up