From 848f8ec8a7b1f22c2cd00adeeff2f77365796f5e Mon Sep 17 00:00:00 2001 From: special Date: Sun, 5 Nov 2006 01:05:01 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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)) -- cgit v1.2.3