]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/chanserv.h
Lots of style changes to user replies. added numeric access back
[irc/evilnet/x3.git] / src / chanserv.h
index 504c65ca7a8e21fa1cc08cf8749ecd49924f0f64..064fcc9f010ea89dc22d633cb3ec6c7ccba5c336 100644 (file)
@@ -1,7 +1,7 @@
 /* chanserv.h - Channel service bot
  * Copyright 2000-2004 srvx Development Team
  *
- * This file is part of srvx.
+ * This file is part of x3.
  *
  * srvx is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -77,7 +77,7 @@ enum charOption {
 
 #define IsProtected(x)         ((x)->flags & CHANNEL_NODELETE)
 #define IsSuspended(x)         ((x)->flags & CHANNEL_SUSPENDED)
-#define IsOffChannel(x)         ((x)->flags & CHANNEL_OFFCHANNEL)
+#define IsOffChannel(x)         (((x)->flags & CHANNEL_OFFCHANNEL) && (off_channel > 1))
 
 struct chanData
 {
@@ -87,6 +87,7 @@ struct chanData
     time_t             registered;
     time_t             visited;
     time_t             limitAdjusted;
+    time_t              ownerTransfer;
 
     char               *topic;
     char               *greeting;
@@ -180,5 +181,7 @@ struct do_not_register *chanserv_is_dnr(const char *chan_name, struct handle_inf
 int check_user_level(struct chanNode *channel, struct userNode *user, enum levelOption opt, int allow_override, int exempt_owner);
 
 void do_math(char *Buffer, char *Math);
+char* user_level_name_from_level(int level);
+
 
 #endif