]> jfr.im git - solanum.git/blobdiff - modules/m_topic.c
client: refactor del_all_accepts to allow skipping own accept list
[solanum.git] / modules / m_topic.c
index f1a9898a9ac1cd082515084d89477b0366276913..214e4a94468885162e4e58d81473082a2f4763f0 100644 (file)
@@ -112,7 +112,7 @@ m_topic(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_
                }
 
                if(MyClient(source_p) && !is_chanop_voiced(msptr) &&
-                               !IsOper(source_p) &&
+                               !IsOperGeneral(source_p) &&
                                !add_channel_target(source_p, chptr))
                {
                        sendto_one(source_p, form_str(ERR_TARGCHANGE),
@@ -173,7 +173,7 @@ m_topic(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_
                        sendto_one(source_p, form_str(RPL_TOPICWHOTIME),
                                        me.name, source_p->name, chptr->chname,
                                        chptr->topic_info,
-                                       (unsigned long)chptr->topic_time);
+                                       (long long)chptr->topic_time);
                }
        }
 }