depricated.h

Go to the documentation of this file.
00001 /* depricated.h
00002  *
00003  * (C) 2003-2008 Anope Team
00004  * Contact us at info@anope.org
00005  *
00006  * Please read COPYING and README for furhter details.
00007  *
00008  * Based on the original code of Epona by Lara.
00009  * Based on the original code of Services by Andy Church. 
00010  * 
00011  *
00012  */
00013 
00014 /*
00015    All of these functions were replaced in 1.7.6, you should move your modules
00016    to use the new functions
00017 */
00018 
00019 #define change_user_mode(u, modes, arg) common_svsmode(u, modes, arg)
00020 #define GetIdent(x) common_get_vident(x)
00021 #define GetHost(x) common_get_vhost(x)
00022 
00023 #define NEWNICK(nick,user,host,real,modes,qline) \
00024    anope_cmd_bot_nick(nick,user,host,real,modes)
00025 
00026 #define s_akill(user, host, who, when, expires, reason) \
00027   anope_cmd_akill(user, host, who, when, expires, reason)
00028 
00029 #define set_umode(user, ac, av) anope_set_umode(user, ac, av)
00030 
00031 #define s_svsnoop(server, set) anope_cmd_svsnoop(server, set)
00032 
00033 #define s_sqline(mask, reason) anope_cmd_sqline(mask, reason)
00034 
00035 #define s_sgline(mask, reason) anope_cmd_sgline(mask, reason)
00036 #define s_szline(mask, reason) anope_cmd_szline(mask, reason)
00037 #define s_unsgline(mask) anope_cmd_unsgline(mask)
00038 #define s_unsqline(mask) anope_cmd_unsqline(mask)
00039 #define s_unszline(mask) anope_cmd_unszline(mask)
00040 
00041 #define s_rakill(user, host) anope_cmd_remove_akill(user, host)
00042 
00043 
00044 # define NICKSERV_MODE ircd->nickservmode
00045 # define CHANSERV_MODE ircd->chanservmode
00046 # define HOSTSERV_MODE ircd->hostservmode
00047 # define MEMOSERV_MODE ircd->memoservmode
00048 # define BOTSERV_MODE ircd->botservmode
00049 # define HELPSERV_MODE ircd->helpservmode
00050 # define OPERSERV_MODE ircd->oprservmode
00051 # define DEVNULL_MODE ircd->devnullmode
00052 # define GLOBAL_MODE ircd->globalmode
00053 # define NICKSERV_ALIAS_MODE ircd->nickservaliasmode
00054 # define CHANSERV_ALIAS_MODE ircd->chanservaliasmode
00055 # define MEMOSERV_ALIAS_MODE ircd->memoservaliasmode
00056 # define BOTSERV_ALIAS_MODE ircd->botservaliasmode
00057 # define HELPSERV_ALIAS_MODE ircd->helpservaliasmode
00058 # define OPERSERV_ALIAS_MODE ircd->operservaliasmode
00059 # define DEVNULL_ALIAS_MODE ircd->devnullaliasmode
00060 # define GLOBAL_ALIAS_MODE ircd->globalaliasmode
00061 # define HOSTSERV_ALIAS_MODE ircd->hostservaliasmode
00062 # define BOTSERV_BOTS_MODE ircd->botserv_bot_mode
00063 #define CHAN_MAX_SYMBOL ircd->max_symbols
00064 #define MODESTOREMOVE ircd->modestoremove
00065 
00066 #ifdef IRC_HYBRID
00067 # define HAS_HALFOP
00068 # define HAS_EXCEPT
00069 #endif
00070  
00071 #ifdef IRC_VIAGRA
00072 # define HAS_HALFOP
00073 # define HAS_VHOST
00074 # define HAS_VIDENT
00075 # define HAS_EXCEPT
00076 #endif
00077 
00078 #ifdef IRC_BAHAMUT
00079 # define HAS_NICKIP
00080 # define HAS_EXCEPT
00081 # define HAS_SVSHOLD                                                            
00082 #endif
00083  
00084 #ifdef IRC_RAGE2
00085 # define HAS_HALFOP
00086 # define HAS_EXCEPT
00087 # define HAS_VHOST
00088 # define HAS_NICKVHOST
00089 #endif
00090  
00091 #ifdef IRC_PTLINK
00092 # define HAS_NICKVHOST
00093 # define HAS_VHOST
00094 # define HAS_FMODE
00095 # define HAS_EXCEPT
00096 #endif
00097  
00098 #ifdef IRC_ULTIMATE2
00099 # define IRC_ULTIMATE /* gotta do this for old mods */
00100 # define HAS_FMODE
00101 # define HAS_HALFOP
00102 # define HAS_LMODE
00103 # define HAS_VHOST
00104 # define HAS_VIDENT
00105 # define HAS_EXCEPT
00106 #endif
00107  
00108 #if defined(IRC_UNREAL31) || defined(IRC_UNREAL32)
00109 # define IRC_UNREAL                     /* gotta do this for old mods */
00110 # define HAS_FMODE
00111 # define HAS_HALFOP
00112 # define HAS_LMODE
00113 # define HAS_NICKVHOST
00114 # define HAS_VHOST
00115 # define HAS_VIDENT
00116 # define HAS_EXCEPT
00117 #endif
00118  
00119 #ifdef IRC_ULTIMATE3
00120 # define HAS_HALFOP
00121 # define HAS_VHOST
00122 # define HAS_NICKVHOST
00123 # define HAS_VIDENT
00124 # define HAS_EXCEPT
00125 #endif
00126 
00127 

Generated on Sun Oct 5 09:06:53 2008 for Anope by  doxygen 1.5.7.1