]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/channel.h
Fix VERSION and RPL_MYINFO to only show modes that are enabled. Also fix up some...
[irc/rqf/shadowircd.git] / include / channel.h
index 6896a2eca6033ab8616c904a987442199358579d..22f9d533fe2174d5fec9db5bf137da28d9452d23 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: channel.h 3580 2007-11-07 23:45:14Z jilles $
  */
 
 #ifndef INCLUDED_channel_h
@@ -51,6 +50,7 @@ struct Channel
 {
        rb_dlink_node node;
        struct Mode mode;
+       char *mode_lock;
        char *topic;
        char *topic_info;
        time_t topic_time;
@@ -283,6 +283,8 @@ void resv_chan_forcepart(const char *name, const char *reason, int temp_time);
 
 extern void set_channel_mode(struct Client *client_p, struct Client *source_p,
                struct Channel *chptr, struct membership *msptr, int parc, const char *parv[]);
+extern void set_channel_mlock(struct Client *client_p, struct Client *source_p,
+               struct Channel *chptr, const char *newmlock, int propagate);
 
 extern struct ChannelMode chmode_table[256];