Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2004-12-18 14:48:53 UTC
Modified files:
ircd/m_topic.c
Log message:
Fix another typo that should have been obvious.
---------------------- diff included ----------------------
Index: ircu2.10/ircd/m_topic.c
diff -u ircu2.10/ircd/m_topic.c:1.18 ircu2.10/ircd/m_topic.c:1.19
--- ircu2.10/ircd/m_topic.c:1.18 Wed Dec 15 20:37:14 2004
+++ ircu2.10/ircd/m_topic.c Sat Dec 18 06:48:42 2004
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: m_topic.c,v 1.18 2004/12/16 04:37:14 entrope Exp $
+ * $Id: m_topic.c,v 1.19 2004/12/18 14:48:42 entrope Exp $
*/
/*
@@ -111,7 +111,7 @@
{
/* allow off-channel services to set the topic of any channel */
}
- else if ((chptr->mode.mode & MODE_TOPICLIMIT) != 0 && is_chan_op(sptr,
chptr))
+ else if ((chptr->mode.mode & MODE_TOPICLIMIT) && !is_chan_op(sptr, chptr))
{
/* if +t and not @'d, return an error and ignore the topic */
send_reply(sptr, ERR_CHANOPRIVSNEEDED, chptr->chname);
----------------------- End of diff -----------------------