From: special Date: Sun, 5 Nov 2006 01:05:01 +0000 (+0000) Subject: Made the 'force' parameter to BURST and TIMESET uppercase to satisfy the pedantic... X-Git-Tag: v2.0.23~6725 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=848f8ec8a7b1f22c2cd00adeeff2f77365796f5e;p=user%2Fhenk%2Fcode%2Finspircd.git Made the 'force' parameter to BURST and TIMESET uppercase to satisfy the pedantic brain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5651 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 2a77e39dd..46eb8bbba 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2701,7 +2701,7 @@ class TreeSocket : public InspSocket bool force = false; - if ((params.size() == 2) && (params[1] == "force")) + if ((params.size() == 2) && (params[1] == "FORCE")) force = true; time_t rts = atoi(params[0].c_str()); @@ -3124,7 +3124,7 @@ class TreeSocket : public InspSocket time_t us = Instance->Time(true); int delta = them - us; - if ((params.size() == 2) && (params[1] == "force")) + if ((params.size() == 2) && (params[1] == "FORCE")) force = true; if ((delta < -600) || (delta > 600))