From 47c5bcf1fe59bf033edc653ad6bea73e7619979b Mon Sep 17 00:00:00 2001 From: luke Date: Mon, 23 Jun 2003 03:04:30 +0000 Subject: [PATCH] Operoverride crash fix --- Changes | 4 ++++ src/channel.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 3c2287f56..ccb777c0d 100644 --- a/Changes +++ b/Changes @@ -871,3 +871,7 @@ Fixed stats being visible to users even after defining STATS_ONLYOPER in config.h --Luke =================================== + +Applied Syzop's fix for operoverride crash. +--Luke +=================================== diff --git a/src/channel.c b/src/channel.c index 228583a37..925bfbc4c 100644 --- a/src/channel.c +++ b/src/channel.c @@ -1214,7 +1214,7 @@ int m_mode(cptr, sptr, parc, parv) * Now, we can actually do the mode. */ (void)do_mode(chptr, cptr, sptr, parc - 2, parv + 2, sendts, 0); - + opermode = 0; return 0; }