mirror of
https://github.com/anope/anope.git
synced 2026-07-07 11:23:13 +02:00
Fix Extensible<bool>::Set with a value (which is redundant due to the bool specailization)
This commit is contained in:
@@ -78,7 +78,8 @@ class BaseExtensibleItem : public ExtensibleBase
|
||||
T* Set(Extensible *obj, const T &value)
|
||||
{
|
||||
T* t = Set(obj);
|
||||
*t = value;
|
||||
if (t)
|
||||
*t = value;
|
||||
return t;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user