summaryrefslogtreecommitdiffhomepage
path: root/src/sst.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sst.c')
-rw-r--r--src/sst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sst.c b/src/sst.c
index 554cfe5..293a6b4 100644
--- a/src/sst.c
+++ b/src/sst.c
@@ -484,7 +484,7 @@ static const void *const *const plugin_obj = vtable;
EXPORT const void *CreateInterface(const char *name, int *ret) {
if (!strncmp(name, "ISERVERPLUGINCALLBACKS00", 24)) {
- if ((name[24] >= '1' || name[24] <= '3') && name[25] == '\0') {
+ if (name[24] >= '1' && name[24] <= '3' && name[25] == '\0') {
if (ret) *ret = 0;
ifacever = name[24] - '0';
return &plugin_obj;