Development/Functors
From Inspire IRCd (InspIRCd)
| | This page has been marked as Development Material. Information posted here may be subject to change and/or only available in unstable versions of InspIRCd. |
Functors
Introduction
Currently, a lot of our methods are static and in the core (such as InspIRCd::IsNick etc etc).
This is fine and good from a usability perspective, but it sucks in some ways (upgradability, extensibility).
Thus, we need to turn them into functors, which can be overridden by modules, for example:
* userrec::addclient = mymodule::myaddclient;
This will allow for modular implementation of international nicks, etc.

















