--HG--
branch : shroudtrusts
#include "../nick/nick.h"
#include "../channel/channel.h"
-#define SNIRCD_13
-#undef SNIRCD_14
+#define SNIRCD_VERSION 134
#define MAXUSERGLINEUSERHITS 100
#define MAXUSERGLINECHANNELHITS 10
char *mask, *reason;
char creator[32];
glinebuf gbuf;
-#ifdef SNIRCD_13
+#if SNIRCD_VERSION <= 134
gline *gl;
#endif
return CMD_ERROR;
}
-#ifdef SNIRCD_13
+#if SNIRCD_VERSION <= 134
gl = findgline(mask);
if (gl) {
- /* snircd 1.3: warn opers that they can't modify this gline */
+ /* warn opers that they can't modify this gline */
if (gl->flags & GLINE_ACTIVE) {
controlreply(sender, "Active G-Line already exists on %s - unable to modify", cargv[0]);
return CMD_ERROR;