1
0
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:
Adam
2013-07-14 03:16:23 -04:00
parent eabb9c0c11
commit 37733dea65
+2 -1
View File
@@ -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;
}