diff options
Diffstat (limited to 'src/modules/protocols/protoopts.cpp')
-rw-r--r-- | src/modules/protocols/protoopts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/protocols/protoopts.cpp b/src/modules/protocols/protoopts.cpp index 0b54d8e30c..c276a62ca1 100644 --- a/src/modules/protocols/protoopts.cpp +++ b/src/modules/protocols/protoopts.cpp @@ -74,7 +74,7 @@ PROTOACCOUNT* Proto_CreateAccount(const char *szModuleName, const char *szBasePr char buf[100];
int count = 1;
while (true) {
- mir_snprintf(buf, SIZEOF(buf), "%s_%d", szBaseProto, count++);
+ mir_snprintf(buf, "%s_%d", szBaseProto, count++);
if (ptrA(db_get_sa(NULL, buf, "AM_BaseProto")) == NULL)
break;
}
|