--HG--
branch : shroudtrusts
#include "../nick/nick.h"
#include "../channel/channel.h"
#include "../nick/nick.h"
#include "../channel/channel.h"
-#define SNIRCD_13
-#undef SNIRCD_14
+#define SNIRCD_VERSION 134
#define MAXUSERGLINEUSERHITS 100
#define MAXUSERGLINECHANNELHITS 10
#define MAXUSERGLINEUSERHITS 100
#define MAXUSERGLINECHANNELHITS 10
char *mask, *reason;
char creator[32];
glinebuf gbuf;
char *mask, *reason;
char creator[32];
glinebuf gbuf;
+#if SNIRCD_VERSION <= 134
+#if SNIRCD_VERSION <= 134
gl = findgline(mask);
if (gl) {
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;
if (gl->flags & GLINE_ACTIVE) {
controlreply(sender, "Active G-Line already exists on %s - unable to modify", cargv[0]);
return CMD_ERROR;