added OPER support (let the bots try to op themselves)
[NeonServV5.git] / src / modules / module.h
index 8c132942b4e4e496b7562dc34fd51be18b43dbea..b780ac16a495499d43c009373e586c0226052443 100644 (file)
@@ -1,4 +1,4 @@
-/* module.h - NeonServ v5.3
+/* module.h - NeonServ v5.4
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -218,6 +218,8 @@ extern int module_id;
 /* 186 */ #define get_revision ((const char * (*)(void))global[186])
 /* 187 */ #define get_codelines ((const char * (*)(void))global[187])
 /* 188 */ #define get_patchlevel ((const int (*)(void))global[188])
+/* 189 */ #define get_module_name ((char * (*)(int))global[189])
+/* 190 */ #define isUserModeSet ((int (*)(struct UserNode *, char))global[190])
 
 #define MODULE_HEADER(initfunc,startfunc,loopfunc,stopfunc) \
     void **global = NULL; \