From 50bbefa3ba2107e9b01e0a8c9265f078146034d2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 22 Oct 2007 19:00:25 +0000 Subject: [PATCH] fixed amb1023 - register_library had an outdated comment --- plugins/include/amxmodx.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index c3b217dd..bc5ff4ad 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -753,9 +753,12 @@ forward plugin_natives(); */ native register_native(const name[], const handler[], style=0); -/* Registers a library. You can put #pragma library in your include files, - * and plugins that use your include without loading your plugin will get a nice - * error message. +/* Registers a library. To mark a library as required, place the following + * in your include file: + * #pragma reqlib + * #if !defined AMXMODX_NOAUTOLOAD + * #pragma loadlib + * #endif */ native register_library(const library[]);