Skip to content

Commit 896e922

Browse files
committed
Use SourceMod's version number
1 parent f32b210 commit 896e922

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

extensions/dhooks/smsdk_config.h

+6-4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
#ifndef _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
3333
#define _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
3434

35+
#include <sourcemod_version.h>
36+
3537
/**
3638
* @file smsdk_config.h
3739
* @brief Contains macros for configuring basic extension information.
@@ -40,12 +42,12 @@
4042
/* Basic information exposed publicly */
4143
#define SMEXT_CONF_NAME "DHooks"
4244
#define SMEXT_CONF_DESCRIPTION "Dynamic Hooks"
43-
#define SMEXT_CONF_VERSION "2.2.0-detours17"
44-
#define SMEXT_CONF_AUTHOR "Dr!fter and Peace-Maker"
45-
#define SMEXT_CONF_URL "http://www.sourcemod.net/"
45+
#define SMEXT_CONF_VERSION SOURCEMOD_VERSION
46+
#define SMEXT_CONF_AUTHOR "AlliedModders LLC"
47+
#define SMEXT_CONF_URL "https://www.sourcemod.net/"
4648
#define SMEXT_CONF_LOGTAG "DHOOKS"
4749
#define SMEXT_CONF_LICENSE "GPL"
48-
#define SMEXT_CONF_DATESTRING __DATE__
50+
#define SMEXT_CONF_DATESTRING SOURCEMOD_BUILD_TIME
4951

5052
/**
5153
* @brief Exposes plugin's main interface.

0 commit comments

Comments
 (0)