]> jfr.im git - irc/thales.git/blobdiff - src/messages.c
Sequana support removed
[irc/thales.git] / src / messages.c
index ad5fcbacb3a6826e2e876dfee56a6214ffc37ff1..d61791e808a1e079ca5a55efdb221b845a6fc8b1 100644 (file)
@@ -128,7 +128,7 @@ static void m_quit(char *source, int ac, char **av)
 static void m_sjoin(char *source, int ac, char **av)
 {
 
-#if defined(IRCD_SEQUANA)||defined(IRCD_BAHAMUT)||defined(IRCD_ULTIMATE)||defined(IRCD_IRCDRU)
+#if defined(IRCD_BAHAMUT)||defined(IRCD_ULTIMATE)||defined(IRCD_IRCDRU)
        if (ac == 2)
                do_join(av[1], source);   /* like a join */
        else
@@ -140,7 +140,7 @@ static void m_sjoin(char *source, int ac, char **av)
 static void m_svsmode(char *source, int ac, char **av)
 {
        if (*av[0] != '#')
-#if defined(IRCD_SEQUANA)||defined(IRCD_BAHAMUT)||defined(IRCD_ULTIMATE)||defined(IRCD_IRCDRU)||defined(IRCD_HYBRID)
+#if defined(IRCD_BAHAMUT)||defined(IRCD_ULTIMATE)||defined(IRCD_IRCDRU)||defined(IRCD_HYBRID)
                do_umode(av[0], av[2]);
 #elif defined(IRCD_UNREAL)||defined(IRCD_ULTI28)
                do_umode(av[0], av[1]);
@@ -369,6 +369,14 @@ static void m_sdesc(char *source, int ac, char **av)
 {
        do_sdesc(source, av[0]);
 }
+
+/* SWHOIS - forwarded */
+static void m_swhois(char *source, int ac, char **av)
+{
+       do_swhois(source, av[0]);
+}
+
+
 #endif
 
 #if defined(IRCD_UNREAL)||defined(IRCD_ULTI28)
@@ -583,6 +591,10 @@ Message messages[] = {
        ,
        {"SETNAME", m_setname}
        ,
+       {"SWHOIS", m_swhois}
+       ,
+       {"EOS", NULL}
+       ,
 #endif
 #ifdef IRCD_HYBRID
        {"REALHOST", m_realhost}