Convert InspIRCd::Duration() to be static