summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-12-13 14:01:17 +0000
committerPeter Powell <petpow@saberuk.com>2018-12-13 14:20:43 +0000
commitee7db9bbfbb5f3bc7359d22e7021415aebddb9d2 (patch)
treeb2a8f23312d173cc1523e3d86273fab9c2430eb0 /src/modules/m_spanningtree
parent0f7cfd46ef2d277f5f82e34a2852c75212d75261 (diff)
Store durations as unsigned long not long in XLine and m_filter.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/addline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/addline.cpp b/src/modules/m_spanningtree/addline.cpp
index 623942d95..5124339fb 100644
--- a/src/modules/m_spanningtree/addline.cpp
+++ b/src/modules/m_spanningtree/addline.cpp
@@ -38,7 +38,7 @@ CmdResult CommandAddLine::Handle(User* usr, Params& params)
XLine* xl = NULL;
try
{
- xl = xlf->Generate(ServerInstance->Time(), ConvToNum<long>(params[4]), params[2], params[5], params[1]);
+ xl = xlf->Generate(ServerInstance->Time(), ConvToNum<unsigned long>(params[4]), params[2], params[5], params[1]);
}
catch (ModuleException &e)
{